diff options
Diffstat (limited to '2459/CH12/EX12.21/Ex12_21.sce')
-rw-r--r-- | 2459/CH12/EX12.21/Ex12_21.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2459/CH12/EX12.21/Ex12_21.sce b/2459/CH12/EX12.21/Ex12_21.sce new file mode 100644 index 000000000..e2afa4d54 --- /dev/null +++ b/2459/CH12/EX12.21/Ex12_21.sce @@ -0,0 +1,24 @@ +//chapter12
+//example12.21
+//page257
+
+V_CC=10 // V
+R1=12 // kilo ohm
+R2=2.7 // kilo ohm
+V_BE=0.7 // V
+R_E=180d-3 // kilo ohm
+R_C=620d-3 // kilo ohm
+
+V2=V_CC*R2/(R1+R2)
+I_E=(V2-V_BE)/R_E
+I_C=I_E
+V_CE=V_CC-I_C*(R_C+R_E)
+
+printf("the operating point is %.3f V and %.3f mA \n",V_CE,I_C)
+if V_CE<V_CC/2+0.1 | V_CE>V_CC/2-0.1 // check if V_CE is nearly half of V_CC
+ printf("circuit is mid-point biased \n")
+else
+ printf("circuit is not mid-point biased. \n")
+end
+
+// the accurate answer for collector current is 6.315 mA but in book it is given as 6.33 mA
|