summaryrefslogtreecommitdiff
path: root/2492/CH4/EX4.8/ex4_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2492/CH4/EX4.8/ex4_8.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 '2492/CH4/EX4.8/ex4_8.sce')
-rwxr-xr-x2492/CH4/EX4.8/ex4_8.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2492/CH4/EX4.8/ex4_8.sce b/2492/CH4/EX4.8/ex4_8.sce
new file mode 100755
index 000000000..d362f919b
--- /dev/null
+++ b/2492/CH4/EX4.8/ex4_8.sce
@@ -0,0 +1,23 @@
+// Exa 4.8
+format('v',6)
+clc;
+clear;
+close;
+// Given data
+V_CE = 8;// in V
+I_C = 1;// in mA
+I_C = I_C * 10^-3;// in A
+V_CC = 12;// in V
+Beta = 100;
+R_C = (V_CC-V_CE)/I_C;// in ohm
+I_B = I_C/Beta;// in A
+V_BE = 0.3;// in V
+R_B = ((V_CC-(I_C*R_C))-V_BE)/I_B;// in ohm
+// For Beta= 50;
+V_CE= 9.6;// in V
+I_C= 0.6;// in mA
+R_C= R_C*10^-3;// in k ohm
+R_B= R_B*10^-3;// in k ohm
+disp(R_C,"The value of R_C in k ohm is");
+disp(R_B,"The value of R_B in k ohm is");
+disp("New Q point : "+string(V_CE)+" volts, "+string(I_C)+" mA")