summaryrefslogtreecommitdiff
path: root/3515/CH4/EX4.16
diff options
context:
space:
mode:
Diffstat (limited to '3515/CH4/EX4.16')
-rw-r--r--3515/CH4/EX4.16/Ex_4_16.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3515/CH4/EX4.16/Ex_4_16.sce b/3515/CH4/EX4.16/Ex_4_16.sce
new file mode 100644
index 000000000..d05e58d69
--- /dev/null
+++ b/3515/CH4/EX4.16/Ex_4_16.sce
@@ -0,0 +1,25 @@
+// Exa 4.16
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+I=1;// in mA
+I=I*10^-3;// in A
+i_C=1;// in mA
+i_C=i_C*10^-3;// in A
+V_CC= 5;// in V
+V_CM= -2;// in V
+V_BE= 0.7;// in V
+R_C= 3;// in kΩ
+R_C= R_C*10^3;// in Ω
+Alpha=1;
+Bita=100;
+V_B= 1;// in V
+i_C1= Alpha*I;// in A
+i_C2=0;
+v_E= V_B-V_BE;// in V
+disp(v_E,"Emitters voltage in volts is : ")
+v_C1= V_CC-i_C1*R_C;// in V
+v_C2= V_CC-i_C2*R_C;// in V
+disp("Output voltage is "+string(v_C1)+" V and "+string(v_C2)+" V")