3

I try to get all roots of cos(x) with wxMaxima

(%i29)solve(cos(x)=0,x);
solve: using arc-trig functions to get a solution.
Some solutions will be lost.
(%o29) [x=%pi/2]

The solution gets solved by using arccos.

How can i get all solutions for a given domain? e.g. [0; 5*pi]

ronny
  • 33
  • 6

1 Answers1

4

Using to_poly_solve you can obtain all solutions:

to_poly_solve(cos(x)=0,x);

Jeronimo
  • 136
  • 1