Symbolic Toolbox finds no solution to biquadratic equation

조회 수: 2 (최근 30일)
Lukas Schroth
Lukas Schroth 2022년 5월 21일
댓글: Lukas Schroth 2022년 5월 25일
Hey all,
I need to solve a very long and komplex and biquadratic equation (ax^4+bx^3+cx^2+dx+e = 0) symbolically, however the symbolic Toolbox does not find a solution. I am aware that there are closed form solutions to biqudratic equations, so it should be possible to find them. Any tipps how i can find these solutions/ make the symbolic tooldbox find them?
I am grateful fo any help.
Yours,
Lukas

답변 (1개)

Walter Roberson
Walter Roberson 2022년 5월 21일
syms A B C D E x
R = solve(A*x^4 + B*x^3 + C*x^2 + D*x^1 + E*x^0, x, 'maxdegree', 4);
now use coeffs on your original expression to extract the expression a matching degree 4, b degree 3, and so on. Then
RR = subs(R, [A, B, C, D, E], [a, b, c, d, e]) ;
These will be long and it is very likely that they will be incomprehensible. If someone were to present the same expressions but with any 3 signs changed you would probably never notice or have any idea what the difference meant physically.

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by