You are on page 1of 3

Que.1. Find the first partial derivatives of the following functions.

[a] f(x,y):=y^5-3*x*y [b] g(x,t):=(e^(-t))*cos(pi*x) [c] h(x,y):=atan(y/x)

(%i1) f(x,y):=y^5-3*x*y;

(%o1) f(x,y):=y^5-3*x*y

(%i2) diff(f(x,y),x);

(%o2) -3*y

(%i3) diff(f(x,y),y);

(%o3) 5*y^4-3*x

(%i4) g(x,t):=(%e^(-t))*cos(%pi*x);

(%o4) g(x,t):=%e^(-t)*cos(%pi*x)

(%i5) diff(g(x,t),x);

(%o5) -%pi*%e^(-t)*sin(%pi*x)

(%i6) diff(g(x,t),t);

(%o6) -%e^(-t)*cos(%pi*x)

(%i7) h(x,y):=atan(y/x);

(%o7) h(x,y):=atan(y/x)

(%i8) diff(h(x,y),x);

(%o8) -y/(x^2*(y^2/x^2+1))

(%i9) diff(h(x,y),y);

(%o9) 1/(x*(y^2/x^2+1))
Que.2. If f(x,y)=x^5+x^3y^4-5y^3, find fx(2,3) and fy(2,3)

(%i10) f(x,y):=x^5+x^3*y^4-5*y^3;

(%o10) f(x,y):=x^5+x^3*y^4+(-5)*y^3

(%i11) diff(f(x,y),x);

(%o11) 3*x^2*y^4+5*x^4

(%i12) g(x,y):=3*x^2*y^4+5*x^4;

(%o12) g(x,y):=3*x^2*y^4+5*x^4

(%i13) g(2,3);

(%o13) 1052

(%i14) diff(f(x,y),y);

(%o14) 4*x^3*y^3-15*y^2

(%i15) h(x,y):=4*x^3*y^3-15*y^2;

(%o15) h(x,y):=4*x^3*y^3-15*y^2

(%i16) h(2,3);

(%o16) 729
Que.3. Determine whether each of the following function is a solution of laplace equation
U + U =0
xx yy

[a] u(x,y):=x^2+y^2

(%i17) u(x,y):=x^2+y^2;
(%o17) u(x,y):=x^2+y^2
(%i18) uxx:diff(u(x,y),x,2);
(uxx) 2
(%i19) uyy:diff(u(x,y),y,2);
(uyy) 2
(%i20) uxx+uyy;
(%o20) 4

Therefore given function is not a solution of laplace equation

You might also like