diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3507/CH12/EX12.12 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3507/CH12/EX12.12')
-rw-r--r-- | 3507/CH12/EX12.12/Ex12_12.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/3507/CH12/EX12.12/Ex12_12.sce b/3507/CH12/EX12.12/Ex12_12.sce new file mode 100644 index 000000000..75c4b3b09 --- /dev/null +++ b/3507/CH12/EX12.12/Ex12_12.sce @@ -0,0 +1,29 @@ +//chapter12
+//example12.12
+//page249
+
+Vcc=15 // V
+Re=2 // kilo ohm
+Rc=1 // kilo ohm
+gain_beta=100
+Vbe=0.7 // V
+R1=10 // kilo ohm
+R2=5 // kilo ohm
+
+Eo=Vcc*R2/(R1+R2)
+Ro=R1*R2/(R1+R2)
+
+printf("thevenin voltage = %.3f V \n",Eo)
+printf("thevenin resistance = %.3f kilo ohm \n",Ro)
+
+// here Eo=Ib*Ro+Vbe+Ie*Re
+// now considering Ie=gain_beta*Ib, and making Ib as subject we get
+// Ib=(Eo-Vbe)/(Ro+gain_beta*Re)
+// Ic=gain_beta*Ib=gain_beta*(Eo-Vbe)/(Ro+gain_beta*Re)
+// dividing numerator and denominator by gain_beta we get
+// Ic=(Eo-Vbe)/(Re+Ro/gain_beta)
+// Ro/gain_beta is negligible compared to Re so
+Ic=(Eo-Vbe)/Re
+Vce=Vcc-Ic*(Rc+Re)
+
+printf("the operating point is %.3f V and %.3f mA \n",Vce,Ic)
|