1-cos(x)^2 doesn't simplify?
6 次查看(过去 30 天)
显示 更早的评论
I found an ancient similar question, apperantly it used to work when at least x is not assigned. But when I try
syms x
simplify (1-cos(x)^2)
I get ans = 1 - cos(x)^2
Is there a reason for this, or is it just a bug?
0 个评论
采纳的回答
Cris LaPierre
2021-5-3
Perhaps try using the Steps name-value pair.
syms x
simplify(1-cos(x)^2,'Steps',10)
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!