How to solve x^4-p*x+q.solve for x considering p and q as constants
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Solve for x taking p and q as conntants
1 comentario
Dimitris Kalogiros
el 23 de Sept. de 2018
I wonder whether your equation is
x^4-p*x^2+q =0
or if it is
x^2-p*x^2+q=0
Since, I thing that what you gave has no analytical solution if p,q are being considered as parameters.
Respuestas (2)
Basil C.
el 24 de Sept. de 2018
Here is a better way to implement when you only have the equation given
syms x
%define the value of p and q
y=x^4-p*x+q;
C=double(coeffs(y,'All'));
answer=roots(C)
0 comentarios
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!