diff options
Diffstat (limited to '863/CH4/EX4.9/Ex4_9.txt')
-rw-r--r-- | 863/CH4/EX4.9/Ex4_9.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/863/CH4/EX4.9/Ex4_9.txt b/863/CH4/EX4.9/Ex4_9.txt new file mode 100644 index 000000000..4125b5f06 --- /dev/null +++ b/863/CH4/EX4.9/Ex4_9.txt @@ -0,0 +1,21 @@ +//Caption:Determine required capacitance
+//Ex4.9
+clc;
+clear;
+close;
+E=4//Input voltage(in volts)
+Pw=1//Pulse width(in ms)
+Rs=1//Source resistance(in kilo ohm)
+Vce=0.2//Saturated Collector emitter voltage(in volts)
+Rc=1//Collector resistance(in kilo ohm)
+Vcc=10//Collector voltage(in volts)
+hfe=100
+Vbe=0.7//Base emitter voltage(in volts)
+Rb=10//Base resistance(in kilo ohm)
+Ic=(Vcc-Vce)/Rc
+Ib=Ic*1000/hfe
+Irb=Vbe*1000/Rb
+ic=Ib+Irb
+I=(E-Vbe)/Rs
+C=Pw/(Rs*(log(I*1000/ic)))
+disp(C,'Required capacitance(in micro farad)=')
\ No newline at end of file |