Professional Documents
Culture Documents
Limits Using Mathematica
Limits Using Mathematica
Out[13]= ⅇx
Out[14]= 1
Out[15]= 1
Out[16]= 1
3.5
3.0
2.5
2.0
Out[17]=
1.5
1.0
0.5
0.0
-4 -2 0 2 4
2
(ii) e^(-1/x)
In[25]:= f[x_] = E ^ (- 1 / x)
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Background → LightYellow , PlotStyle → Red, Frame → True ]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "], Print [False ]]
ⅇ
- 1 /x
Out[25]=
Out[26]= 1
Out[27]= 1
Out[28]= 1
Out[29]=
-4 -2 0 2 4
Qus 2 Sin[1/x]
In[31]:= f[x_] = Sin [1 / x]
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Frame → True, Background → LightYellow ]
If [Lhl ⩵ RHL ≠ ∞ ,
Print ["Limit of the function exists when x-> Infinity "], Print [False ]]
1
Out[31]= Sin
x
Out[32]= 0
Out[33]= 0
Out[34]= 0
1.0
0.5
0.0
Out[35]=
-0.5
-1.0
-4 -2 0 2 4
Out[38]= ∞
Out[39]= ∞
Out[40]= ∞
20
15
10
5
Out[41]=
-5
-10
-15
-4 -2 0 2 4
Out[50]= 0
Out[51]= 0
Out[52]= 0
15
10
Out[53]= -5
-10
-15
-20
-4 -2 0 2 4
Qus 4 x/(x+1)
In[55]:= f[x_] = x / (x + 1)
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Background → LightRed , Frame → True, PlotStyle → Black ]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "],
Print ["Limit of the function does not exist "]]
x
Out[55]=
1+x
Out[56]= 1
Out[57]= 1
Out[58]= 1
1
Out[59]=
-1
-4 -2 0 2 4
Out[62]= ∞
Out[63]= ∞
Out[64]= ∞
0
Out[65]=
-2
-4
-4 -2 0 2 4
Out[56]= 0
Out[57]= 0
Out[58]= 0
To plot:
Assuming values of {a,b,c,d,e}
[{1,0,1,0,0},{2,1,2,1,1},{3,2,3,2,2},{4,3,4,3,3}]
1.0
0.5
Out[69]= 0.0
-0.5
-1.0
-10 -5 0 5 10