Solution of symbolic fourth order polynomial equation

조회 수: 4(최근 30일)
Susmita Panda
Susmita Panda 2021년 11월 13일
편집: VBBV 2021년 11월 13일
I am finding difficulty in finding roots of a fourth order polynomial equation which as as follows:
lambda^4+A*lambda^2-B*lambda+C=0
where A, B, and C are constants. I used function roots() function in matlab, but it doesnt worked.

채택된 답변

VBBV
VBBV 2021년 11월 13일
편집: VBBV 2021년 11월 13일
A = 2;
B = 1.4;
C = 3
C = 3
syms L
eqn = L^4 + A*L^2 - B*L + C == 0
eqn = 
sol = double(vpasolve(eqn,2))
sol =
-0.6390 + 1.3986i -0.6390 - 1.3986i 0.6390 + 0.9277i 0.6390 - 0.9277i
Try using vpasolve

추가 답변(0개)

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by