Justin, that is right. "return" caused a graph to be drawn.
Now that you pointed out why it didn't work, I see another solution:
graph = complex_plot(g, (-3, 3), (-3, 3))
graph.show()
which doesn't require a return statement; since my original intention was
to put
the drawing command insid
In sagemath-8.5beta3, I got it working after deleting all figsize and
fontsize in all subplot
@interact
def _(t0=0, q0=1e-6, I0=0,
L=slider(1e-3,1e0,0.01,12e-2),
C=slider(1e-9,1e-5,1e-7, 1.5e-6),tmax=1e-2):
p1 = plot(q_LC(t0=t0, q0=q0, I0=I0, L=L,
C=C), (t,0,tmax),
Oops, "243" in my post should have been "k". I don't know how to edit a
post after I've posted it.
On Wednesday, November 14, 2018 at 10:31:34 PM UTC-8, Michael Beeson wrote:
>
> After quite some searching I did not succeed to find documentation for
> sage functions to work with complex numb
After quite some searching I did not succeed to find documentation for sage
functions to work with complex numbers as much as I would like.
For example if I have a complicated rational expression, how can I tell
Sage "bring this to the form a + bi". It seems real() and imag() only
work