summaryrefslogtreecommitdiff
path: root/2702/CH3/EX3.4
diff options
context:
space:
mode:
Diffstat (limited to '2702/CH3/EX3.4')
-rw-r--r--2702/CH3/EX3.4/Ex_3_4.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2702/CH3/EX3.4/Ex_3_4.sce b/2702/CH3/EX3.4/Ex_3_4.sce
new file mode 100644
index 000000000..869074f7c
--- /dev/null
+++ b/2702/CH3/EX3.4/Ex_3_4.sce
@@ -0,0 +1,21 @@
+// Exa 3.4
+clc;
+clear;
+close;
+// Given data
+V_CC= 10;// in V
+V_CE= 5;// in V
+V_BE= 0.7;// in V
+I_C= 5*10^-3;// in mA
+bita= 100;
+R_C= (V_CC-V_CE)/I_C;// in Ω
+I_B= I_C/bita;// in A
+R_B= (V_CC-V_BE)/I_B;// in Ω
+disp(R_C*10^-3,"The value of R_C in kΩ is : ")
+disp(I_B*10^6,"The value of I_B in µA is : ")
+disp(R_B*10^-3,"The value of R_B in kΩ is : ")
+
+// Note: The value of base current in the book is wrong
+
+
+