summaryrefslogtreecommitdiff
path: root/3517/CH4/EX4.7
diff options
context:
space:
mode:
Diffstat (limited to '3517/CH4/EX4.7')
-rw-r--r--3517/CH4/EX4.7/Ex4_7.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3517/CH4/EX4.7/Ex4_7.sce b/3517/CH4/EX4.7/Ex4_7.sce
new file mode 100644
index 000000000..3de515299
--- /dev/null
+++ b/3517/CH4/EX4.7/Ex4_7.sce
@@ -0,0 +1,20 @@
+//Caption:Design a transistor by determining Rc,Rb and amplitude of output waveform
+//Ex4.7
+clc;
+clear;
+close;
+E=10//Input voltage(in volts)
+Vcc=15//Collector voltage(in volts)
+R=100//Load resistance(in kilo ohm)
+Vce=0.2//Saturted collector emitter voltage(in volts)
+Vd=0.7//Diode forward voltage(in volts)
+hfe=35
+Vbe=0.7//Base emitter voltage(in volts)
+Rc=R/10
+Ic=(Vcc-Vce-Vd)/Rc
+Ib=Ic/hfe
+Rb=(E-Vbe-Vd)/Ib
+Vmin=Vd+Vce
+Vmax=(Vcc*R)/(R+Rc)
+Vo=Vmax-Vmin
+disp(Vo,Rb,Rc,'Rc,Rb(in kilo ohm),and amplitude of output waveform(in volts)=') \ No newline at end of file