MATLAB Answers

Finding approximate real solution to a equation

20 views (last 30 days)
Vinit Nagda
Vinit Nagda on 22 Sep 2021 at 9:20
Commented: Vinit Nagda on 22 Sep 2021 at 10:07
Can anyone please help me, how to find the approximate real solution to the following polynomial:
syms x
eqn=0.0941*x^3+0.1926*x-1500;
I used solve and simplify functions, but I don't get a real value.

Accepted Answer

Alan Stevens
Alan Stevens on 22 Sep 2021 at 9:23
You don't need syms here. Try the roots function.
help roots
  3 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by