summaryrefslogtreecommitdiff
path: root/2702/CH4/EX4.16
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2702/CH4/EX4.16
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '2702/CH4/EX4.16')
-rw-r--r--2702/CH4/EX4.16/Ex_4_16.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2702/CH4/EX4.16/Ex_4_16.sce b/2702/CH4/EX4.16/Ex_4_16.sce
new file mode 100644
index 000000000..e81df5fca
--- /dev/null
+++ b/2702/CH4/EX4.16/Ex_4_16.sce
@@ -0,0 +1,24 @@
+// Exa 4.16
+clc;
+clear;
+close;
+// Given data
+I=1;// in mA
+I=I*10^-3;// in A
+i_C=1;// in mA
+i_C=i_C*10^-3;// in A
+V_CC= 5;// in V
+V_CM= -2;// in V
+V_BE= 0.7;// in V
+R_C= 3;// in kΩ
+R_C= R_C*10^3;// in Ω
+Alpha=1;
+Bita=100;
+V_B= 1;// in V
+i_C1= Alpha*I;// in A
+i_C2=0;
+v_E= V_B-V_BE;// in V
+disp(v_E,"Emitters voltage in volts is : ")
+v_C1= V_CC-i_C1*R_C;// in V
+v_C2= V_CC-i_C2*R_C;// in V
+disp("Output voltage is "+string(v_C1)+" V and "+string(v_C2)+" V")