HELP: Rearranging equation facsum



Pierpaolo Greco  writes:

>> > Pierpaolo Greco [09/05/05 19:16 +0200]:
>> >> 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)), leading to display

> I hoped that maxima could do the re-factoring in exponentials, also
> without user focusing on the different steps, just to reduce my
> mistakes.

You could do something like

Ca*k*t/(Ca*k*t+%e^(e/r/t));
subst(lambda([b,e],if b=%e then 1/'exp(-e) else b^e),"^",%);
ratsimp(%);
%,exp;

Wolfgang