--------------------------------------------------------------------------------
import DC
import Circuit
import Print
circuit :: ESim -> [Device]
circuit z0 = (res1 1 1 0 10.0 z0) ++
(res1 2 2 0 10.0 z0) ++
(ind1 3 1 2 1e-2 z0) ++
(vsrc1 4 1 0 10.0 z0)
z = dcOP1 0.0 [] [] circuit
k = dcTran1 0.0 5.0e-4 6.0e-3 [] [] circuit
main = trPrint [0,1,2] k
{-
-}
|