Symbolic Toolbox finds no solution to biquadratic equation

2 visualizaciones (últimos 30 días)
Lukas Schroth
Lukas Schroth el 21 de Mayo de 2022
Comentada: Lukas Schroth el 25 de Mayo de 2022
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

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Mayo de 2022
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.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by