Professional Documents
Culture Documents
CIRCUIT :
THERIOTICAL CALCULATIONS :
Roll number:BT21ECE102
R=(102*15)=1530 ohms
CODE :
For Transient Analysis:
r 1 2 1530
c 2 0 1244uF
.control
run
set xbrushwidth = 4
.endc
.end
For DC Analysis:
r1 1 2 1530
c1 2 0 1244u
.control
run
set color0=white
set color1=black
set xbrushwidth=3
.endc
.end
For AC analysis:
R1 1 2 1530
C1 2 0 1244uF
V1 1 0 AC 1V
.control
run
plot db(v(1))db(v(2))
.endc
.end
OUTPUT
For DC Analysis:
For AC Analysis:
CONCLUSION
The circuit consists of an RC (resistor-capacitor) circuit excited by a pulsed
voltage source. The transient analysis will show how the voltages across the
resistor v(1) and capacitor v(2) change over time in response to the pulsed
input. The plot will display the waveforms for v(1) and v(2) over the
simulation period. similarily for ac and dc analysis