diff options
Diffstat (limited to '863/CH4/EX4.8/Ex4_8.sce')
-rw-r--r-- | 863/CH4/EX4.8/Ex4_8.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/863/CH4/EX4.8/Ex4_8.sce b/863/CH4/EX4.8/Ex4_8.sce new file mode 100644 index 000000000..a122d419a --- /dev/null +++ b/863/CH4/EX4.8/Ex4_8.sce @@ -0,0 +1,19 @@ +//Caption:Calculate Rc,Rb,and Cc
+//Ex4.8
+clc;
+clear;
+close;
+Vcc=10//Collector voltage(in volts)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+Ic=10//Collector current(in mA)
+Vbe=0.7//Base emitter voltage(in volts)
+hfe=100
+Pw=1//Pulse width(in ms)
+Vi=4//Input voltage(in volts)
+Rc=(Vcc-Vce)*1000/Ic
+Ib=Ic*1000/hfe
+Rb=(Vcc-Vbe)*1000/Ib
+Vb=Vi-Vbe-0.5
+I=(Vcc+Vi)/Rb
+Cc=I*Pw/Vb
+disp(Cc,Rb,Rc,'Rc(in ohm),Rb(in kilo ohm),Cc(in micro farad)=')
\ No newline at end of file |