Borrar filtros
Borrar filtros

How to solve these easy equations below? (quadratic equation)

1 visualización (últimos 30 días)
Übel
Übel el 9 de Nov. de 2014
Editada: Roger Stafford el 9 de Nov. de 2014
C=1*L-(2*L+3);
C=7/(4*5*L^6);
Both C and L are unknown variables. How could I solve these equations? Looking for your answer!

Respuestas (2)

Image Analyst
Image Analyst el 9 de Nov. de 2014
Sounds like homework - is it? I'd set them equal to each other (to eliminate C) then use fzero() to find L, then stick in either equation to find C. Give that a try and come back with MATLAB code if you want any help with it. By the way, I don't see how the quadratic equation applies to this 6th order equation.

Roger Stafford
Roger Stafford el 9 de Nov. de 2014
Editada: Roger Stafford el 9 de Nov. de 2014
Eliminate C and get the polynomial equation
20*L^7 + 60*L^6 + 7 = 0 (<-- Corrected)
and use 'roots'.

Categorías

Más información sobre Quadratic Programming and Cone Programming 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!

Translated by