用最大值求解三角项 [英] Solving trignometric terms with maxima
本文介绍了用最大值求解三角项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试用 wxMaxima 得到 cos(x) 的所有根
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]
通过使用 arccos 解决了这个问题.
The solution gets solved by using arccos.
如何获得给定域的所有解决方案?例如[0;5*pi]
How can i get all solutions for a given domain? e.g. [0; 5*pi]
推荐答案
使用 to_poly_solve 可以获得所有解决方案:
Using to_poly_solve you can obtain all solutions:
to_poly_solve(cos(x)=0,x);
to_poly_solve(cos(x)=0,x);
这篇关于用最大值求解三角项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文