Using solve to solve a complex trigonometric equation
古いコメントを表示
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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Systems of Nonlinear Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!