Professional Documents
Culture Documents
ROLL NO 2021/1222
SEMESTER III SEMESTER
SUBJECT MULTIVARIATE
CALCULUS
SUBMITTED TO
PRACTICAL -2
Discuss the limit of the following
functions when x tends to 0 :
1). 1/x 2). -1/x 3). 1/(x^2) 4). |x| 5). x*sin(1/x) 6).
sin(1/x) 7). x 8). x^2 9). sinx 10). cosx 11). cos(1/x)
12). sin(x/x) 13). cos(x/x) 14). abs(x)/x
1.)
EDITOR WINDOW
pkg load symbolic
syms x
limit(1/x,x,0,'left')
limit(1/x,x,0,'right')
ezplot(1/x,[-1,1])
FIGURE
COMMAND WINDOW
2.)
EDITOR WINDOW
FIGURE
COMMAND WINDOW
3.)
EDITOR WINDOW
5.)
EDITOR WINDOW
6.)
EDITOR WINDOW
8.)
EDITOR WINDOW
COMMAND WINDOW
10.)
EDITOR WINDOW
18.)
EDITOR WINDOW
OUTPUT :
PRACTICAL -3
Discuss the limit of the following
functions when x tends to 0 :
1). exp(1/x) 2). exp(-1/x) 3). exp(x)/x 4). exp(-x)/x
5). sin(1/x) 6). x/(1+x) 7). x^2*sin(1/x)
1.)
EDITOR WINDOW
COMMAND WINDOW
2.)
EDITOR WINDOW
1.)
EDITOR WINDOW
OUTPUT :
2.)
EDITOR WINDOW
OUTPUT :
3.)
EDITOR WINDOW
OUTPUT :
4.)
EDITOR WINDOW :
OUTPUT :
5.)
EDITOR WINDOW :
OUTPUT :
6.)
EDITOR WINDOW :
OUTPUT :
PRACTICAL-9
Draw the tangent plane to the
following surfaces at the given point;
1.)
EDITOR WINDOW :
OUTPUT :
2.)
EDITOR WINDOW :
OUTPUT :
3.)
EDITOR WINDOW :
OUTPUT :
PRACTICAL -4
Discuss the continuity of the following
function at x=0
1.)
EDITOR WINDOW :
Output:
2.)
EDITOR WINDOW :
3.)
EDITOR WINDOW :
clc;
syms x
f=cos(1./x)
fp=subs(f,x,0)
L1=limit(cos(1./x),x,0,"left")
R1=limit(cos(1./x),x,0,"right")
if (R1==L1) && (R1==fp)
disp("function is continuous")
else
disp("function is not continuous")
end
Output:
4.)
EDITOR WINDOW :
clc;
syms x
f=sin(1./x)
fp=subs(f,x,0)
L1=limit(sin(1./x),x,0,"left")
R1=limit(sin(1./x),x,0,"right")
if (R1==L1) && (R1==fp)
disp("function is continuous")
else
disp("function is not continuous")
end
Output:
5.)
EDITOR WINDOW :
clc;
syms x
f=x*cos(1./x)
fp=subs(f,x,0)
L1=limit(x*cos(1./x),x,0,"left")
R1=limit(x*cos(1./x),x,0,"right")
if (R1==L1) && (R1==fp)
disp("function is continuous")
else
disp("function is not continuous")
end
Output:
6.)
EDITOR WINDOW :
clc;
syms x
f=x*sin(1./x)
fp=subs(f,x,0)
L1=limit(x*sin(1./x),x,0,"left")
R1=limit(x*sin(1./x),x,0,"right")
if (R1==L1) && (R1==fp)
disp("function is continuous")
else
disp("function is not continuous")
end
Output:
7.)
EDITOR WINDOW :
clc;
syms x
f=x^2*sin(1./x)
fp=subs(f,x,0)
L1=limit(x^2*sin(1./x),x,0,"left")
R1=limit(x^2*sin(1./x),x,0,"right")
if (R1==L1) && (R1==fp)
disp("function is continuous")
else
disp("function is not continuous")
end
Output:
8.)
EDITOR WINDOW :
clc;
syms x
f=(1./x)*sin(1./x)
fp=subs(f,x,0)
L1=limit((1./x)*sin(1./x),x,0,"left")
R1=limit((1./x)*sin(1./x),x,0,"right")
if (R1==L1) && (R1==fp)
disp("function is continuous")
else
disp("function is not continuous")
end
OUTPUT :
9.)
EDITOR WINDOW :
clc;
syms x
f=floor(x)
fp=subs(f,x,0)
L1=limit(floor(x),x,0,"left")
R1=limit(floor(x),x,0,"right")
if (R1==L1) && (R1==fp)
disp("function is continuous")
else
disp("function is not continuous")
end
OUTPUT :
PRACTICAL-9
Draw the following surfaces and discuss
whether limit exists or not as (x,y) approaches
to the given points. Find the limit,if it exists:
1.)
EDITOR WINDOW :
pkg load symbolic
clc;
syms x y
f=(x+y)./(x-y)
disp("Along Y-axis where x->0 first and then
y->0")
L1=limit(limit(f,x,0),y,0)
disp("Along x-axis where y->0 first and then x->0")
L2=limit(limit(f,y,0),x,0)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
2.)
EDITOR WINDOW :
pkg load symbolic
clc;
syms x y
f=((x^2)-y)./(x+y)
disp("Along Y-axis where x->0 first and then
y->0")
L1=limit(limit(f,x,0),y,0)
disp("Along x-axis where y->0 first and then x->0")
L2=limit(limit(f,y,0),x,0)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
3.)
EDITOR WINDOW :
pkg load symbolic
clc;
syms x y
f=(x^2-y^2)./(x^2+y^2)
disp("Along Y-axis where x->0 first and then
y->0")
L1=limit(limit(f,x,0),y,0)
disp("Along x-axis where y->0 first and then x->0")
L2=limit(limit(f,y,0),x,0)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
4.)
EDITOR WINDOW :
pkg load symbolic
clc;
syms x y
f=(x-y)./sqrt(x^2+y^2)
disp("Along Y-axis where x->0 first and then
y->0")
L1=limit(limit(f,x,0),y,0)
disp("Along x-axis where y->0 first and then x->0")
L2=limit(limit(f,y,0),x,0)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
5.)
EDITOR WINDOW :
pkg load symbolic
clc;
syms x y
f=(x+y^2)./(x^2+y^2)
disp("Along Y-axis where x->0 first and then
y->0")
L1=limit(limit(f,x,0),y,0)
disp("Along x-axis where y->0 first and then x->0")
L2=limit(limit(f,y,0),x,0)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
6.)
EDITOR WINDOW :
pkg load symbolic
clc;
syms x y
f=(x+y)./exp(x*y)
disp("Along Y-axis where x->1 first and then
y->1")
L1=limit(limit(f,x,1),y,1)
disp("Along x-axis where y->1 first and then x->1")
L2=limit(limit(f,y,1),x,1)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
7.)
EDITOR WINDOW :
pkg load symbolic
clc;
syms x y
f=exp(x*y)
disp("Along Y-axis where x->0 first and then
y->0")
L1=limit(limit(f,x,0),y,0)
disp("Along x-axis where y->0 first and then x->0")
L2=limit(limit(f,y,0),x,0)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
8.)
EDITOR WINDOW:
OUTPUT :
9.)
EDITOR WINDOW:
pkg load symbolic
clc;
syms x y
f=(x-y)./sqrt(x^2+y^2)
disp("Along Y-axis where x->2 first and then
y->1")
L1=limit(limit(f,x,2),y,1)
disp("Along x-axis where y->1 first and then x->2")
L2=limit(limit(f,y,1),x,2)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
10.)
EDITOR WINDOW:
pkg load symbolic
clc;
syms x y
f=(x+y)./exp(x*y)
disp("Along Y-axis where x->1 first and then
y->1")
L1=limit(limit(f,x,1),y,0)
disp("Along x-axis where y->1 first and then x->1")
L2=limit(limit(f,y,0),x,1)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
11.)
EDITOR WINDOW:
pkg load symbolic
clc;
syms x y
f=exp(x*y)
disp("Along Y-axis where x->1 first and then
y->0")
L1=limit(limit(f,x,1),y,0)
disp("Along x-axis where y->0 first and then x->1")
L2=limit(limit(f,y,0),x,1)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :
12.)
EDITOR WINDOW:
pkg load symbolic
clc;
syms x y
f=(x^2-y^2)./(x^2+y^2)
disp("Along Y-axis where x->2 first and then
y->1")
L1=limit(limit(f,x,2),y,1)
disp("Along x-axis where y->1 first and then x->2")
L2=limit(limit(f,y,1),x,2)
if (L1==L2)
disp("LIMIT EXISTS")
else
disp("LIMIT DOESNOT EXISTS AS LIMIT OF
FUN. IS DIFFERENT ALONG DIFFERENT
PATHS")
end
OUTPUT :