diff options
Diffstat (limited to '2330/CH5/EX5.9/ex5_9.sce')
-rwxr-xr-x | 2330/CH5/EX5.9/ex5_9.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2330/CH5/EX5.9/ex5_9.sce b/2330/CH5/EX5.9/ex5_9.sce new file mode 100755 index 000000000..d54ddfd26 --- /dev/null +++ b/2330/CH5/EX5.9/ex5_9.sce @@ -0,0 +1,20 @@ +// Example 5.9
+format('v',5)
+clc;
+clear;
+close;
+// given data
+V_BE= 0.7;//in V
+V_CC= 15;// in V
+R_E= 100;// in Ω
+R_C= 910;// in Ω
+R_B= 430*10^3;// in Ω
+bita= 300;// unit less
+// The collector current,
+I_C= (V_CC-V_BE)/(R_E+R_B/bita);// in A
+I_C= I_C*10^3;// in mA
+disp(I_C,"The value of I_C in mA is : ");
+I_C= I_C*10^-3;// in A
+// The collector to emitter voltage,
+V_CE= V_CC-I_C*(R_C+R_E);// in V
+disp(V_CE,"The value of V_CE in volts is : ")
|