summaryrefslogtreecommitdiff
path: root/2498/CH4/EX4.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2498/CH4/EX4.5
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 '2498/CH4/EX4.5')
-rwxr-xr-x2498/CH4/EX4.5/ex4_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2498/CH4/EX4.5/ex4_5.sce b/2498/CH4/EX4.5/ex4_5.sce
new file mode 100755
index 000000000..95c02ded9
--- /dev/null
+++ b/2498/CH4/EX4.5/ex4_5.sce
@@ -0,0 +1,18 @@
+// Exa 4.5
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+Beta = 49;
+I_E = 12;// in mA
+I_B = 240;// in µA
+I_B = I_B * 10^-3;// in mA
+Alpha = Beta/(1+Beta);
+//Using alpha rating, the value of collector current,
+I_C = Alpha*I_E;// in mA
+disp(Alpha,"The value of alpha is : ")
+disp(I_C,"Using alpha rating, the value of I_C in mA is");
+//Using beta rating, the value of collector current,
+I_C = Beta*I_B;// in mA
+disp(I_C,"Using bita rating, the value of I_C in mA is");