MaplePartialDiffs.mws

Partial Derivatives

Examples

>    f:=3*x*y^3-4*sin(x*y):

>    Diff(f,x);

Diff(3*x*y^3-4*sin(x*y),x)

>    value(%);

3*y^3-4*cos(x*y)*y

>    diff(f,x);

3*y^3-4*cos(x*y)*y

>    diff(f,y);

9*x*y^2-4*cos(x*y)*x

>    diff(f,x,y);

9*y^2+4*sin(x*y)*x*y-4*cos(x*y)

>    diff(f,y,x);

9*y^2+4*sin(x*y)*x*y-4*cos(x*y)

>    diff(f,x,x,x);

4*cos(x*y)*y^3

>    diff(f,x$3);

4*cos(x*y)*y^3

>    diff(f,y,y,y);

18*x+4*cos(x*y)*x^3

>    diff(f,y$3);

18*x+4*cos(x*y)*x^3

>    Diff(x^5+2*cos(x*y^4),x,y,x,y);

Diff(x^5+2*cos(x*y^4),x,y,x,y)

>    value(%);

32*cos(x*y^4)*x^2*y^14+152*sin(x*y^4)*y^10*x-112*cos(x*y^4)*y^6

>    diff(x^5+2*cos(x*y^4),x,y,x,y);

32*cos(x*y^4)*x^2*y^14+152*sin(x*y^4)*y^10*x-112*cos(x*y^4)*y^6

>    Diff(x^5+2*cos(x*y^4),x$3,y$2);

Diff(x^5+2*cos(x*y^4),`$`(x,3),`$`(y,2))

>    value(%);

-32*sin(x*y^4)*x^2*y^18+216*cos(x*y^4)*x*y^14+264*sin(x*y^4)*y^10

>    diff(x^5+2*cos(x*y^4),x$3,y$2);

-32*sin(x*y^4)*x^2*y^18+216*cos(x*y^4)*x*y^14+264*sin(x*y^4)*y^10

>    Diff(x^5+2*cos(x*y^4),y$2,x$3);

Diff(x^5+2*cos(x*y^4),`$`(y,2),`$`(x,3))

>    value(%);

-32*sin(x*y^4)*x^2*y^18+216*cos(x*y^4)*x*y^14+264*sin(x*y^4)*y^10

>