Question: How can I simplify an expression in terms of a function I have defined?

Hello

 

I have a nasty expression which I want to simplify in terms of another expression/function I have defined. 

Please can you tell me how to do this?

A simple example would be:

 

myFunction := a^2 + b^2

horribleFunction:= a^2 + b^2 + ...

I want it to simplify so I get something like

 

A(myFunction)^n  + .....

 

Above is just a simplifcation to try and explain what I mean

 

Thanks

 

Please Wait...