Simple limit returning NaN: f(x) = exp(-1/x)
Afficher commentaires plus anciens
By intuition and some opinions on Mathstack the limit of this function should be coming close to 0.
However
syms x; limit(exp(-1/x),x,0)
holds another solutions. So?
1 commentaire
syms x
f = exp(-1/x) ;
limit(f,x,0,'left')
limit(f,x,0,'right')
Réponse acceptée
Plus de réponses (1)
The function you have shown does not have a well-defined limit as x-->0, but this does:
syms x; limit(exp(-1/abs(x)),x,0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!