try defmatch(zz,any);
tellsimpafter(zz*kg*m/s^2,zz*Newton);
RJF
C Y wrote:
>Hey guys. Been trying to tease Maxima into simplifying a*kg*m/s^2 to
>a*Newtons, but I haven't got anywhere. Is the following expected
>behavior, and if so is there any way to achieve the effect I'm looking
>for?
>
>Maxima 5.9.0.1cvs
>CMU Common Lisp 18e
>(C1) tellsimpafter(kg*m/s^2,Newtons);
>
>(D1) [*RULE1, SIMPTIMES]
>(C2) kg*m/s^2;
>
>(D2) Newtons
>(C3) a*kg*m/s^2;
>
> a kg m
>(D3) ------
> 2
> s
>
>Thanks,
>CY
>
>
>