summaryrefslogtreecommitdiff
path: root/3515/CH3/EX3.2/Ex_3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3515/CH3/EX3.2/Ex_3_2.sce')
-rw-r--r--3515/CH3/EX3.2/Ex_3_2.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/3515/CH3/EX3.2/Ex_3_2.sce b/3515/CH3/EX3.2/Ex_3_2.sce
new file mode 100644
index 000000000..a7cf305b3
--- /dev/null
+++ b/3515/CH3/EX3.2/Ex_3_2.sce
@@ -0,0 +1,27 @@
+// Exa 3.2
+format('v',6);
+clc;
+clear;
+close;
+// Given data
+V_E= 1.7;// in V
+V_B= 1;// in V
+RC= 5;// in kΩ
+RE= 5;// in kΩ
+RE= RE*10^3;// in Ω
+RC= RC*10^3;// in Ω
+RB= 100;//in kΩ\
+RB= RB*10^3;// in Ω
+V_CC= 10;// in V
+V_BE= -10;// in volt
+I_E= (V_CC-V_E)/RE;// in A
+I_B= V_B/RB;// in V
+// Formula I_B= (1-alpha)*I_E
+alpha= 1-I_B/I_E;
+disp(alpha,"Value of alpha is : ")
+bita= alpha/(1-alpha);
+disp(bita,"Value of bita is : ")
+V_C= (I_E-I_B)*RC-V_CC;// in volt
+disp(V_C,"Collector voltage in volts is : ")
+
+