In: Mechanical Engineering
Use MuPAD to compute the following limits.
We are required to find out the limits of the functions using MATLAB. In MATLAB we have the function limit (E, v, a, ‘d’) to calculate limits.
Here
E is the expression
v is the variable which is changing
a is the limit the variable tends to
d is the direction of approach
(a)
We have our first expression as
limx→∞ x + 1/x
For this first example we will show how to put each argument in the function. Here
E = x + 1/x
v = x
a = ∞
There the value d is ignored as the limit is neither left-sided nor right-sided.
The screenshot of MATLAB window below shows the input and the output.
The correct answer as shown by MATLAB is 1.
(b)
We have our expression as
limx→∞ (3x3 – 2x)/(2x3 + 3)
The screen shot of MATLAB window below shows the input and the output.
The correct answer by MATLAB is 3/2
(a) The correct answer as shown by MATLAB is 1.
(b) The correct answer by MATLAB is 3/2