Problem with the function Limit in MATLAB
Show older comments
Hello, i'm having issues with the function Limit in MATLAB. I put this ecuation y = (x^2 - x - 2)*sqrt(a*x^2 + 1)/(x^2 - a); and then i tryed to do this function:
AHI = limit(y, x, -inf) but when I evaluated that, Matlab answered me with the same question, it answered me this: AHI =
limit(((a*x^2 + 1)^(1/2)*(- x^2 + x + 2))/(- x^2 + a), x, -Inf). Does anyone know what am I doing wrong or how can I solve it? Thank you.
but now I have another problem. With the same ecuation and now typing this, i get an error in another limit. What am I doing wrong in that one?
y = (x^2 - x - 2)*sqrt(a*x^2 + 1)/(x^2 - a);
assume(a, 'Real')
AVI = limit(y, x, a, 'left')
AVI =
((a^3 + 1)^(1/2)*(- a^2 + a + 2))/(- a^2 + a)
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 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!