Ngspice Tutorial #2 (tran and dc sweep/ RC circuit and diode characteristics)