summaryrefslogtreecommitdiff
path: root/68/CH5/EX5.9/ex9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /68/CH5/EX5.9/ex9.sce
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 '68/CH5/EX5.9/ex9.sce')
-rwxr-xr-x68/CH5/EX5.9/ex9.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/68/CH5/EX5.9/ex9.sce b/68/CH5/EX5.9/ex9.sce
new file mode 100755
index 000000000..7454b78cd
--- /dev/null
+++ b/68/CH5/EX5.9/ex9.sce
@@ -0,0 +1,24 @@
+// Example 5.9 :Analyse the circuit to find node voltages and branch currents
+// assuming that the transistor is saturated
+V_CC=-5; // (V)
+V_EE=5; // (V)
+R_B=10000; // (ohm)
+R_C=10000; // (ohm)
+R_E=1000; // (ohm)
+V_EB=0.7; // (V)
+V_ECsat=0.2; // (V)
+// using the relation I_E=I_C+I_B
+V_B=3.75/1.2; //(V)
+disp(V_B,"Base voltage (V)")
+V_E=V_B+V_EB;
+disp(V_E,"Emitter voltage (V)")
+V_C=V_E-V_ECsat;
+disp(V_C,"Collector voltage (V)")
+I_E=(V_EE-V_E)/R_E;
+disp(I_E,"Emitter current (A)")
+I_B=V_B/R_B;
+disp(I_B,"Base current (A)")
+I_C=(V_C-V_CC)/R_C;
+disp(I_C,"Collector current (A)")
+Bforced=I_C/I_B; // Value of forced beta
+disp(Bforced, "Forced Beta value") \ No newline at end of file