summaryrefslogtreecommitdiff
path: root/3515/CH3/EX3.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3515/CH3/EX3.2
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 '3515/CH3/EX3.2')
-rw-r--r--3515/CH3/EX3.2/Ex3_2.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/3515/CH3/EX3.2/Ex3_2.sce b/3515/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..a7cf305b3
--- /dev/null
+++ b/3515/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,27 @@
+// Exa 3.2
+format('v',6);
+clc;
+clear;
+close;
+// Given data
+V_E= 1.7;// in V
+V_B= 1;// in V
+RC= 5;// in kΩ
+RE= 5;// in kΩ
+RE= RE*10^3;// in Ω
+RC= RC*10^3;// in Ω
+RB= 100;//in kΩ\
+RB= RB*10^3;// in Ω
+V_CC= 10;// in V
+V_BE= -10;// in volt
+I_E= (V_CC-V_E)/RE;// in A
+I_B= V_B/RB;// in V
+// Formula I_B= (1-alpha)*I_E
+alpha= 1-I_B/I_E;
+disp(alpha,"Value of alpha is : ")
+bita= alpha/(1-alpha);
+disp(bita,"Value of bita is : ")
+V_C= (I_E-I_B)*RC-V_CC;// in volt
+disp(V_C,"Collector voltage in volts is : ")
+
+