Substituting expressions in Maxima result



Thanks a lot!  subst does what I want.

Is there an easier way to do multiple subst operations in one or can I
only do it with having a whole new subst operation each time?

Why I ask is: I have very long expressions and it doesn't need to
display the intermediate results between the subst operations as that
takes some time. Can I have the calculations done without displaying
the result? I would only need to see the formula after the final
subst.


RD> About the "^" replacement, try: subst("^" = pow, expr);

That also helps me much. But no matter what I chose instead of "pow" I
always get something like "mychosenname(variable, 2)". I'd rather have
something like "square(variable)". Is that also possible?

Thanks to all responders. This is a great list.
weaker