summaryrefslogtreecommitdiff
path: root/2129/CH5/EX5.10.1a/ex5_10_1a.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2129/CH5/EX5.10.1a/ex5_10_1a.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2129/CH5/EX5.10.1a/ex5_10_1a.sce')
-rwxr-xr-x2129/CH5/EX5.10.1a/ex5_10_1a.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2129/CH5/EX5.10.1a/ex5_10_1a.sce b/2129/CH5/EX5.10.1a/ex5_10_1a.sce
new file mode 100755
index 000000000..758777d98
--- /dev/null
+++ b/2129/CH5/EX5.10.1a/ex5_10_1a.sce
@@ -0,0 +1,15 @@
+// Exa 5.10.1(a)
+clc;
+clear;
+close;
+// Given data
+beta_dc = 90;
+I_C = 15;// in mA
+I_C = I_C * 10^-3;// in A
+I_B = I_C/beta_dc;// in A
+disp(I_B*10^6,"The base current in µA is");
+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");