summaryrefslogtreecommitdiff
path: root/3515/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3515/CH4/EX4.1/Ex4_1.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 '3515/CH4/EX4.1/Ex4_1.sce')
-rw-r--r--3515/CH4/EX4.1/Ex4_1.sce38
1 files changed, 38 insertions, 0 deletions
diff --git a/3515/CH4/EX4.1/Ex4_1.sce b/3515/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..a0f0811f8
--- /dev/null
+++ b/3515/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,38 @@
+// Exa 4.1
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+V_CC= 10;// in volt
+V_EE= -10;// in volt
+I= 1;// in mA
+I=I*10^-3;// in A
+R_C= 10;// in kohm
+R_C=R_C*10^3;// in kohm
+V_BE=0.7;// in volt
+
+i_C1= I/2;// in A
+i_C2= i_C1;// in A
+disp(i_C1*10^3,"Value of i_C1 in mA is : ")
+
+V_C1= V_CC-i_C1*R_C;// in V
+// For V_cm=0 volt
+V_E= -0.7;// in volt
+V_CE1= V_C1-V_E;// in volt
+disp(V_CE1,"For V_cm =0 , The alue of V_CE1 in volt is ")
+
+// For V_cm= -5 volt
+V_cm= -5;// in V
+V_B= V_cm;// in V
+// From V_BE= V_B-V_E
+V_E= V_B-V_BE;// in volt
+V_CE1= V_C1-V_E;// in volt
+disp(V_CE1,"For V_cm =-5V , The alue of V_CE1 in volt is ")
+
+// For V_cm= 5 volt
+V_cm= 5;// in V
+V_B= V_cm;// in V
+V_E= V_B-V_BE;// in volt
+V_CE1= V_C1-V_E;// in volt
+disp(V_CE1,"For V_cm =5V , The alue of V_CE1 in volt is ")