Hi,
 I got this example from here :

http://arachnoid.com/sage/differential1.html

For many years it was working, I use now sage 7.6 or sage 8 but I go the 
same error it can get the variable t, as  I know it's working, any help ? 


# r = 1000 ohms, c = 0.5e-6 farads, f = 440
r = 1000
c = 0.5e-6
f = 440
omega = 2*pi*f
pa = 
plot(sin(omega*t),(t,0,.005),rgbcolor=('#800000'),axes_labels=['time','v'])
pb = plot(df(r,c,omega,t),(t,0,.005),rgbcolor=('#008000'))
lbl = text("$f = %.0f Hz \,r = %.0f \Omega \, c = %.1f {\mu}f$"
 % (f,r,c*1e6),(.0025,1.2),fontsize=12,rgbcolor='black')
show(pa+pb+lbl,figsize=(4,3))

error :
..... I cut here as it is too large.... Only the end.

/home/pi/sage/src/sage/ext/fast_callable.pyx in 
sage.ext.fast_callable.ExpressionTreeBuilder.var 
(/home/pi/sage/src/build/cythonized/sage/ext/fast_callable.c:6657)()    696     
        ind = self._vars.index(var_name)    697         except ValueError:--> 
698             raise ValueError("Variable '%s' not found" % var_name)    699   
      return ExpressionVariable(self, ind)    700 
ValueError: Variable 't' not found




-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to