Question: Re: D Operator for functions with powers

Hi all,

I need to use the D Operator for the following:

eta:= (x,y)-> (diff(u(x,y),x)^2+diff(v(x,y),y)^2)^n;
                                           n
          /             2                2\
          |/ d         \    / d         \ |
(x, y) -> ||--- u(x, y)|  + |--- v(x, y)| |
          \\ dx        /    \ dy        / /

D(eta)assuming n::constant;

I am getting this error:

Error, (in D/procedure) function must be unary

Any help on this is greatly appreciated.


 

Please Wait...