How can get roots of polynomial having variables in denominator.?

6 views (last 30 days)
Let
F(x)= (x^2+1)/(x+1)+(2*x^2+3)/(x+2)=0,
With syms x,
How can we find the roots of F(x).?

Accepted Answer

KSSV
KSSV on 12 Feb 2021
Read about vpasolve.
syms x
F = (x^2+1)/(x+1)+(2*x^2+3)/(x+2)==0 ;
r = vpasolve(F)

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!