1-cos(x)^2 doesn't simplify?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tunahan Keskin
el 3 de Mayo de 2021
Comentada: Cris LaPierre
el 3 de Mayo de 2021
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 comentarios
Respuesta aceptada
Cris LaPierre
el 3 de Mayo de 2021
Perhaps try using the Steps name-value pair.
syms x
simplify(1-cos(x)^2,'Steps',10)
3 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!