diff options
Diffstat (limited to '1223/CH3/EX3.4')
-rwxr-xr-x | 1223/CH3/EX3.4/Ex3_4.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1223/CH3/EX3.4/Ex3_4.sce b/1223/CH3/EX3.4/Ex3_4.sce new file mode 100755 index 000000000..e48433db3 --- /dev/null +++ b/1223/CH3/EX3.4/Ex3_4.sce @@ -0,0 +1,19 @@ +clear;
+clc;
+//Example 3.4
+Vbb=1.5;//(V)
+Rb=580;//(KOhm)
+Veb=0.6;//(V)
+Vcc=5;//(V)
+b=100;
+//writing Kirchhoff voltage law equation around E-B loop
+Ib=(Vcc-Veb-Vbb)/Rb;
+printf('\nbase current=%.3f mA\n',Ib)
+Ic=b*Ib;
+printf('\ncollector current=%.2f mA\n',Ic)
+Ie=(1+b)*Ib;
+printf('\nemitter current=%.3f mA\n',Ie)
+Vec=(1/2)*Vcc;
+printf('\nce voltage=%.2f V\n',Vec)
+Rc=(Vcc-Vec)/Ic;
+printf('\ncollector resistance=%.f KOhm\n',Rc)
|