Positive roots only for cubic eqn
1 view (last 30 days)
Show older comments
How I get positive roots x^3 − 5x^2 − 2x + 24 = 0 Using syms x eqn=x^3 − 5x^2 − 2x + 24 ==0
0 Comments
Accepted Answer
madhan ravi
on 23 Jun 2020
Edited: madhan ravi
on 23 Jun 2020
ROOTS = roots([1, -5, -2, 24]);
Wanted = ROOTS(ROOTS > 0)
0 Comments
More Answers (0)
See Also
Categories
Find more on Particle & Nuclear Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!