The letter j as imaginary unit



Per Liss <maillistor-cas at yahoo.se> writes:
> After reading and introductory textbook, I have been now spent some
> time finding information on the Internet on how to make Maxima using
> the letter "j" as the imaginary unit in order not to make confusion
> with the symbol "i" for current. I would like Maxima not only to
> understand input using "%j" which I believe could be done by defining
> a constant, but also produce outputs using "j" instead of "i". My
> final goal is to find a way to permanently configure my installation
> to use the letter j.

The symbol %i is hard-coded throughout the source, so I'm pretty certain
you just can't. However, %i is not the same as I or i, so I shouldn't
think it's all that confusing seeing two of them in the same expression.

If you want to be able to enter things using %j, you could start with
the line

   %j: %i;

But any calculation producing the imaginary unit will display as %i. If
you've an expression that you want to eyeball without those distracting
%i symbols, you could always do

  subst ('%j, %i, myexpr);

which will replace them for you.

Frankly, I'm not convinced it's worth the effort.

Rupert
-------------- 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/20120218/556eb051/attachment.pgp>;