How do I solve this complex equation?

26 ビュー (過去 30 日間)
James Yang
James Yang 2018 年 12 月 19 日
コメント済み: madhan ravi 2018 年 12 月 19 日
I have to solve the equation 4Z^4-11Z^2+7-3i=0, where Z is a complex number
My thoughts are to do this:
p=[4,0,-11,0,7-3i]
roots(p)
However, the answer I get is different from the actual answer, which is
2.4849+0.1552i
0.9924-0.2898i
-0.7273+0.1347i
Any help is appreciated!

採用された回答

madhan ravi
madhan ravi 2018 年 12 月 19 日
編集済み: madhan ravi 2018 年 12 月 19 日
I believe you are getting the correct answer
% method 1
syms Z
eqn=4*Z^4-11*Z^2+7-3i==0;
Root=vpasolve(eqn)
% method 2
roots(sym2poly(eqn))
  2 件のコメント
James Yang
James Yang 2018 年 12 月 19 日
These are my answers:
1.4438 + 0.1932i
0.8945 - 0.3118i
-1.4438 - 0.1932i
-0.8945 + 0.3118i
Is this what you got as well?
Is the answer key wrong then?
madhan ravi
madhan ravi 2018 年 12 月 19 日
yes that's the answer I got

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by