Using solve to solve a complex trigonometric equation
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Systems of Nonlinear Equations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!