diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2459/CH12/EX12.9/Ex12_9.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '2459/CH12/EX12.9/Ex12_9.sce')
-rw-r--r-- | 2459/CH12/EX12.9/Ex12_9.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/2459/CH12/EX12.9/Ex12_9.sce b/2459/CH12/EX12.9/Ex12_9.sce new file mode 100644 index 000000000..b49db335a --- /dev/null +++ b/2459/CH12/EX12.9/Ex12_9.sce @@ -0,0 +1,31 @@ +//chapter12
+//example12.9
+//page245
+
+V_CC=12 // V
+gain_beta1=100
+gain_beta2=50
+V_BE=0.3 // V
+V_CE=8 // V
+I_C=1 // mA
+
+// here V_CC=V_CE+I_C*R_C so we get
+R_C=(V_CC-V_CE)/I_C
+
+I_B=I_C/gain_beta1
+
+// we know that R_B=(V_CC-V_BE-gain_beta1*R_C*I_B)/I_B so
+R_B=(V_CC-V_BE-gain_beta1*R_C*I_B)/I_B
+
+
+// for gain_beta=50 i.e. gain_beta2
+
+// we know that R_B=(V_CC-V_BE-gain_beta2*R_C*I_B)/I_B so we get
+I_B2=(V_CC-V_BE)/(R_B+gain_beta2*R_C)
+
+I_C2=gain_beta2*I_B2
+
+V_CE2=V_CC-I_C2*R_C
+
+printf("for beta=100,required base resistance = %.3f kilo ohm \n",R_B)
+printf("for beta=50,new operating point is %.3f V, %.3f mA \n",V_CE2,I_C2)
|