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 CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by