--------------------------------------------------------------------------------
import DC
import Circuit
circuit :: ([Int],[Double]) -> [Double] -> [Double]
-> [([[Int]], Double)]
circuit p0 n0 t0 = (idc1 1 1 0 2.0 p0 n0 t0) ++
(res1 2 1 0 10.0 p0 n0 t0) ++
(res1 3 1 2 10.0 p0 n0 t0) ++
(vdc1 4 1 2 5.0 p0 n0 t0) ++
(res1 5 2 0 2.0 p0 n0 t0)
main = circuit ([mOP],[]) [] []
{-
array (1,3) [(1,7.5),(2,2.5),(3,0.75)]
-}
|