4th degree equations
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, can anyone help me with this problem? We need the smallest positive real root of this equation
a*x^4+b*x^3+c*x^2+d*x+e=0,
where a>0, b<0, c>0, d<0 and e>0. As Descartes said, in that case this equation has at least 2 positive real roots.
Thank you for your attention.
댓글 수: 0
채택된 답변
Walter Roberson
2011년 11월 18일
r = roots([a,b,c,d,e]);
r(imag(r)~=0) = []; %remove complex
r(r <= 0) = []; %remove non-positive
min(r) %now it is the smallest positive real root
댓글 수: 5
Walter Roberson
2011년 11월 19일
I think I do not know enough polynomial theory to come up with a useful answer on this, sorry.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!