Positive roots only for cubic eqn

1 次查看(过去 30 天)
How I get positive roots x^3 − 5x^2 − 2x + 24 = 0 Using syms x eqn=x^3 − 5x^2 − 2x + 24 ==0

采纳的回答

madhan ravi
madhan ravi 2020-6-23
编辑:madhan ravi 2020-6-23
ROOTS = roots([1, -5, -2, 24]);
Wanted = ROOTS(ROOTS > 0)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Particle & Nuclear Physics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by