Solution of symbolic fourth order polynomial equation
    15 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Susmita Panda
 el 13 de Nov. de 2021
  
    
    
    
    
    Respondida: Walter Roberson
      
      
 el 19 de Oct. de 2023
            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.
0 comentarios
Respuesta aceptada
Más respuestas (2)
  hiluf
 el 19 de Oct. de 2023
        a=-32;
b=4;
c=-8;
d=4;
syms L
egn=L*exp(4)+L*exp(2)+L*c+d==0;
sol = double(vpasolve(eqn,2));
0 comentarios
  Walter Roberson
      
      
 el 19 de Oct. de 2023
        You can get the complete symbolic solution... or a placeholder form that in practice is much more convenient.
syms lambda A B C
eqn = lambda^4+A*lambda^2-B*lambda+C == 0
sol_root = solve(eqn)
sol_full = solve(eqn, 'maxdegree', 4)
0 comentarios
Ver también
Categorías
				Más información sobre Symbolic Math Toolbox 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!






