Simplification question



Thanks a lot! format(e,%poly(x,z)); did the job

Bye,

Andreas

Richard Fateman wrote:
> there is actually no reason to expect Maxima to "simplify" an expression to
> some arbitrary form that you happen to like;
> Maxima has its own particular repertoire of "kinds of simplifications"  and
> getting exactly the ordering you want may be contrary to its rules.  On the
> other hand, there is a package that tries to come up with a formatting
> arrangement that might allow for something like this form. Bruce Miller
> wrote it, and it is called format.  e.g. load(format) does it.
> documentation?? see http://math.nist.gov/~BMiller/computer-algebra/
>  
> 
>> -----Original Message-----
>> From: maxima-bounces at math.utexas.edu 
>> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of Andreas Kranz
>> Sent: Tuesday, May 27, 2008 1:08 PM
>> To: maxima at math.utexas.edu
>> Subject: Simplification question
>>
>> Hello,
>>
>> as a maxima newbie I've trouble understanding how to achieve 
>> a certain 
>> transformation.
>>
>> Especially I would like the following term:
>>
>>   2 vx z - r z - l z - 2 n (x - vx) - 2 vz x + r vz + l vz
>> - --------------------------------------------------------
>>                            r - l
>>
>> to be written as:
>>
>>
>> 2(n + vz)      -2 vx    r + l       2 n vx + r vz + l vz
>> --------- x + (----- +  -----) z +  --------------------
>>   r - l        r - l    r - l              r - l
>>
>>
>> probably an easy task for maxima but maybe I'm just to blind 
>> to see how 
>> to do this.
>> I've already experimented with combinations of factorsum, 
>> factorout and 
>> friends but
>> could not work that out.
>>
>> Any suggestions?
>>
>> Bye,
>>
>> Andreas
>> _______________________________________________
>> Maxima mailing list
>> Maxima at math.utexas.edu
>> http://www.math.utexas.edu/mailman/listinfo/maxima
>>