diff options
Diffstat (limited to '3515/CH3/EX3.12/Ex_3_12.sce')
-rw-r--r-- | 3515/CH3/EX3.12/Ex_3_12.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3515/CH3/EX3.12/Ex_3_12.sce b/3515/CH3/EX3.12/Ex_3_12.sce new file mode 100644 index 000000000..4107689b7 --- /dev/null +++ b/3515/CH3/EX3.12/Ex_3_12.sce @@ -0,0 +1,22 @@ +// Exa 3.12
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+V_B= 5;// in V
+V_BE= 0.7;// in V
+V_CC= 10;// in V
+bita=100;
+R_B= 100;// in kΩ
+R_C= 2;// in kΩ
+R_B=R_B*10^3;// in Ω
+R_C=R_C*10^3;// in Ω
+I_B= (V_B-V_BE)/R_B;// in A
+I_C= bita*I_B;//in A
+V_C= V_CC-I_C*R_C;// in V
+I_E= I_C;// in A (approx)
+disp(I_B*10^3,"The value of I_B in mA is : ")
+disp(I_C*10^3,"The value of I_C in mA is : ")
+disp(V_C,"The value of V_C in volts is : ")
+disp(I_E*10^3,"The value of I_E in mAis : ")
|