summaryrefslogtreecommitdiff
path: root/1850/CH1/EX1.18
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1850/CH1/EX1.18
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 '1850/CH1/EX1.18')
-rwxr-xr-x1850/CH1/EX1.18/exa_1_18.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/1850/CH1/EX1.18/exa_1_18.sce b/1850/CH1/EX1.18/exa_1_18.sce
new file mode 100755
index 000000000..9a21df1a6
--- /dev/null
+++ b/1850/CH1/EX1.18/exa_1_18.sce
@@ -0,0 +1,27 @@
+// Exa 1.18
+clc;
+clear;
+close;
+// Given data
+format('v',7)
+V_BE=0.7;// in volt
+V_CC=9;// in volt
+R1=12;// in k ohm
+R1=R1*10^3;// in ohm
+Bita=100;
+Bita_1= Bita;
+Bita_2=Bita;
+Bita_3=Bita;
+I_REF= (V_CC-2*V_BE)/R1;// in amp
+disp(I_REF*10^3,"Reference current in mA");
+I_out= I_REF/(1+2/(Bita*(1+Bita_3)));// in amp
+disp(I_out*10^3,"Output current in mA");
+I_C2=I_out;// in amp
+disp(I_C2*10^3,"Collector current in mA");
+I_C1= I_C2;
+I_B3= I_REF-I_C1;// in amp
+disp(I_B3*10^6,"Base current of transistor in micro amphere");
+I_E3= I_B3*(1+Bita_3);// in amp
+disp(I_E3*10^6,"Emitter current of transistor in micro amphere");
+I_B1= I_E3/2;// in amp
+disp(I_B1*10^6,"Base current in micro amphere");