summaryrefslogtreecommitdiff
path: root/2492/CH4/EX4.13/ex4_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '2492/CH4/EX4.13/ex4_13.sce')
-rwxr-xr-x2492/CH4/EX4.13/ex4_13.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2492/CH4/EX4.13/ex4_13.sce b/2492/CH4/EX4.13/ex4_13.sce
new file mode 100755
index 000000000..96f973d1d
--- /dev/null
+++ b/2492/CH4/EX4.13/ex4_13.sce
@@ -0,0 +1,21 @@
+// Exa 4.13
+format('v',7)
+clc;
+clear;
+close;
+// Given data
+beta_dc = 90;
+// The base current,
+I_C = 15;// in mA
+I_C = I_C * 10^-3;// in A
+I_B = I_C/beta_dc;// in A
+I_B= I_B*10^6;// in µA
+disp(I_B,"The base current in µA is");
+I_B= I_B*10^-6;// in A
+// The emitter current,
+I_E = I_C + I_B;// in A
+I_E = I_E * 10^3;// in mA
+disp(I_E,"The Emitter current in mA is");
+alpha_dc = beta_dc/(1+beta_dc);
+disp(alpha_dc,"The value of alpha_dc is");
+