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

조회 수: 2 (최근 30일)
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).?

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by