Borrar filtros
Borrar filtros

Positive roots only for cubic eqn

3 visualizaciones (últimos 30 días)
matlab
matlab el 23 de Jun. de 2020
Editada: madhan ravi el 23 de Jun. de 2020
How I get positive roots x^3 − 5x^2 − 2x + 24 = 0 Using syms x eqn=x^3 − 5x^2 − 2x + 24 ==0

Respuesta aceptada

madhan ravi
madhan ravi el 23 de Jun. de 2020
Editada: madhan ravi el 23 de Jun. de 2020
ROOTS = roots([1, -5, -2, 24]);
Wanted = ROOTS(ROOTS > 0)

Más respuestas (0)

Categorías

Más información sobre 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