Reputation: 43
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]
Upvotes: 3
Views: 1879
Reputation: 146
Using to_poly_solve you can obtain all solutions:
to_poly_solve(cos(x)=0,x);
Upvotes: 4