Is there a way to symbolic constants to have them stay correctly in place?



Berns Buenaobra <berns.buenaobra at gmail.com> writes:
> Hi all:
>
> Its a bit awkward and I find that students trying out Maxima can't resist
> to check how well are constants are ordered in the derived relations from a
> text book to a Maxima output.

Have you looked at the ordergreat and orderless functions? For your
first example:

> Consider for example a worksheet snippet:
>
> ('diff(Vin(t),t,1))*C=Vout/R; solve([('diff(Vin(t),t,1))*C=Vout(t)/R],
> [Vout(t)]);

if I do the following, I think I get what you're after:

(%i1) orderless(R,C);
(%o1)                                done
(%i2) first (solve([('diff(Vin(t),t,1))*C=Vout(t)/R], [Vout(t)]));
                                         d
(%o2)                     Vout(t) = R C (-- (Vin(t)))
                                         dt


Hopefully this is some help. There's also a package called "format"
(look in share/contrib/format), which you might be interested in. I
remember spending hours playing with it when I first started using
Maxima but nowadays, I tend to just leave stuff in the form Maxima
chooses by default and do the reordering in my head (if I can...)

Rupert


PS: Your message got held in the moderation queue. If you don't want
    that to happen, sign up to the mailing list and make sure that you
    send from the email address that is signed up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130420/d16ef3d8/attachment.pgp>;