Q: How to control rewriting



On 4/3/12 4:15 PM, Enrique Perez-Terron wrote:
> Hello,
> 
> I have an expression of the form
> 
>           A*B*C*D
> EQ1: F = ---------
>              E
> 
> where C/E has a particular simplification.
> 
> I would like to have this expression rewritten on the form
> 
>                 C
> EQ2: F = A*B*D*---
>                 E
> 
> This would allow me to use, e.g.
> 
>   substpart( simplify(piece), EQ2, 2, 4 )
> 
> My question is how to produce EQ2 from EQ1, short of rewriting manually
> or copying and pasting.

Not sure exactly what you're trying to achieve other than getting EQ1
into a specific form that you can use.

I'm not particularly good at this, but I would just do EQ1/(A*B*D).
That will give you C/E and you can do your substpart and then multiply
everything by A*B*D to get your new expression.

Ray