summaryrefslogtreecommitdiff
path: root/3507/CH12/EX12.21
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3507/CH12/EX12.21
downloadScilab-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.21')
-rw-r--r--3507/CH12/EX12.21/Ex12_21.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3507/CH12/EX12.21/Ex12_21.sce b/3507/CH12/EX12.21/Ex12_21.sce
new file mode 100644
index 000000000..e2afa4d54
--- /dev/null
+++ b/3507/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