ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 19 Apr 2013 02:17:35 +0200Using "j" for Imaginary Unit?https://ask.sagemath.org/question/10039/using-j-for-imaginary-unit/This is probably trivial, but it's a minor annoyance that I'd like to fix.
Is there a way to define "j" to be the imaginary unit so that it not only represents "i" (in all expressions,etc.) but also appears in output as "j"?
sage: var('j,w,t')
(j, w, t)
sage: j=i
sage: j
I
sage: exp(j*w*t)
e^(I*t*w)
sage:
I'd like "j" to have the value of "i" but still appear as "j" in all output (LaTeX too!).
rickhg12hsFri, 19 Apr 2013 02:17:35 +0200https://ask.sagemath.org/question/10039/