Using solve to solve a complex trigonometric equation
Mostrar comentarios más antiguos
i have trouble solving the trigonometric equations, and i really don't know what the problem is. Please look at my code and point out if i were wrong or not. Thank You
(I'm using 2019b version)
>> syms x
>> assume(0 <= x <= 2*pi)
>> solve (sin(x)*cos(x) == 0) %%%What's wrong with this result,,,, i really can't get it
ans =
0
>> solve (sin(2*x) == 0)
ans =
0
pi
2*pi
pi/2
(3*pi)/2
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Systems of Nonlinear Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!