Oct-26-2020, 03:40 PM
(This post was last modified: Oct-26-2020, 03:41 PM by deanhystad.)
I was thinking something like this:
freq = 60 v = expr(sin(2*pi*freq*t)) cct = Circuit( ... Vin 1 0 v ... Rin 1 2 50 ... Cs 2 4 1e-12 ... L 2 3 0.32e-6 ... Rs 3 4 5 ... Cl 4 0 3e-12''')And if you want to use math.pi, use it as math.pi. I think "from math import pi" hides the "pi" symbol.