HELP: Rearranging equation facsum



ratsubst(1/z,exp(e/r/t),%);

does the job, but you have to remember that z=exp(-e/r/t),  so maybe give
it a better name.
Like ratsubst(1/"exp(e/r/t)",exp(e/r/t),%);

Ordinarily you can't easily rearrange stuff that the maxima simplifier
produces in a particular order. Too much depends on the simplifier
working.

RJF


Robert Dodier wrote:

> --- Pierpaolo Greco  wrote:
> 
> 
>>I would ask if someone knows how to use "rearranging-equation" 
>>commands in maxima. I have to express this result
>>
>>
>>
>>                                    Ca k t
>>(%o377)                         --------------
>>                                            E
>>                                           ---
>>                                           R T
>>                                Ca k t + %E
>>
>>
>>in terms of exp(-E/(R*T)), [...]
> 
> 
> How about this? ab(x,e) = multiply e above and below by x
> 
>   ab (x, e) := if denom(e) = 1 then e 
>     else expand (x*num(e)) / expand (x*denom(e));
> 
> I get ab (exp (-E/(R*T)), %o377) the same as your expected result.
> 
> Hope this helps,
> Robert Dodier
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima