L’Hospital’s rule
Show older comments
i want solve a limit function by L'Hospital Rule.

syms x
a=x+2
b=x^2+3*x+2
c=a/b
limit(a,-2)
ans=0
Accepted Answer
More Answers (1)
Probably more clearly for you if you insert the expression directly
syms x
limit((x + 2)/(x^2 + 3*x + 2), -2)
Categories
Find more on Calculus 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!