summaryrefslogtreecommitdiff
path: root/863/CH14/EX14.1/Ex14_1.txt
diff options
context:
space:
mode:
Diffstat (limited to '863/CH14/EX14.1/Ex14_1.txt')
-rw-r--r--863/CH14/EX14.1/Ex14_1.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/863/CH14/EX14.1/Ex14_1.txt b/863/CH14/EX14.1/Ex14_1.txt
new file mode 100644
index 000000000..daadc4311
--- /dev/null
+++ b/863/CH14/EX14.1/Ex14_1.txt
@@ -0,0 +1,16 @@
+//Caption:Determine Resistors Rc and Rb
+//Ex14.1
+clc;
+clear;
+close;
+Vcc=5//Collector voltage(in volts)
+Vi=5//Input voltage(in volts)
+Vf=1.2//Diode forward voltage(in volts)
+hfe=100
+I=20//Diode minimum forward current(in mA)
+Vce=0.2//Collector emitter saturated voltage(in volts)
+Vbe=0.7//Base emitter voltage(in volts)
+Rc=(Vcc-Vf-Vce)*1000/I
+Ib=I*1000/hfe
+Rb=(Vi-Vbe)*1000/Ib
+disp(Rb,Rc,'Resistors are Rc and Rb(in kilo ohm)=') \ No newline at end of file