Question: how to apply a function from the backward to the last result of the forward expression

June 15 2014 taro 90
Maple

1

Hello those in Mapleprimes,

 

What I want to know is whether this is possible or not, and if possible, how should I write a code?

 

The following code works properly:

 

U:=(x,y)->(x^theta+y^theta+X)^(1/theta);

diff(U(x,y),x)/diff(U(x,y),y)=p/q;simplify(%);

But, what I want to ask is this. As for the part of simplify(%), I want to do it with a way which has me 

feel more being from the former to latter.

That is, if ,for example, "diff(U(x,y),x)/diff(U(x,y),y)=p/q;@simplify;" works, it is better to me, though this does not work.

As the second part, @simplify, receives the result of the first part"diff(U(x,y),x)/diff(U(x,y),y)", it seems more 

natural to me than to write simplify(%).

 

Can't I do this, in a meaning, reversal of operator to argument?

 

taro

Please Wait...