** Example 4.10 of Sedra and Smith ** Two different input waveforms can be simulated. You need to ** choose the appropriate .tran line for each of these inputs. Vcc 1 0 dc +10 Vbb 5 0 dc +3 *Vi 4 5 sin(0 0.8 50 ); sinusoidal input Vi 4 5 pulse(-0.8 0.8 0 0.5ms 0.5ms 1ps 1ms); triangular wave Q1 2 3 0 npn_transistor Rc 1 2 3k Rbb 4 3 100k * Transistor model statement .model npn_transistor npn(Is=1.8104e-15 Bf=100) *Analysis Requests *.tran 0.1ms 100ms 0ms 0.1ms; for the sinusoidal input .tran 10us 4ms 0ms 10us; for the triangular wave input .options numdgt=8 .probe .end