ronny
ronny

Reputation: 43

Solving trignometric terms with maxima

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

Answers (1)

Jeronimo
Jeronimo

Reputation: 146

Using to_poly_solve you can obtain all solutions:

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

Upvotes: 4

Related Questions