*** hw1 power *** .param res=1 .options LIST NODE POST .op Vin in 0 dc=1m ac=1m Rs in out 10k Rl out 0 res .dc res START=5k STOP=15k STEP=10 .print dc P(rl) power .end *** HW1-2 *** .options LIST NODE POST .op vs in 0 ac=1 r1 out 0 10k c1 in out 243p // of course you can change parameters .ac dec 10 1 1MEG .print ac v(in) v(out) .end