summaryrefslogtreecommitdiff
path: root/3515/CH3/EX3.1/Ex_3_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3515/CH3/EX3.1/Ex_3_1.sce
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 '3515/CH3/EX3.1/Ex_3_1.sce')
-rw-r--r--3515/CH3/EX3.1/Ex_3_1.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3515/CH3/EX3.1/Ex_3_1.sce b/3515/CH3/EX3.1/Ex_3_1.sce
new file mode 100644
index 000000000..e963bf825
--- /dev/null
+++ b/3515/CH3/EX3.1/Ex_3_1.sce
@@ -0,0 +1,23 @@
+// Exa 3.1
+format('v',5);
+clc;
+clear;
+close;
+// Given data
+V_E= -0.7;// in V
+Bita=50;
+RC= 5;// in kΩ
+RE= 10;// in kΩ
+RE= RE*10^3;// in Ω
+RC= RC*10^3;// in Ω
+V_CC= 10;// in V
+V_BE= -10;// in volt
+I_E= (V_E-V_BE)/RE;// in A
+disp(I_E*10^3,"Emitter current in mA is : ")
+// I_E= I_B+I_C and I_C= Bita*I_B, so
+I_B= I_E/(1+Bita);// in A
+disp(I_B*10^6,"Base current in µA is : ")
+I_C= I_E-I_B;//in A
+disp(I_C*10^3,"Collector current in mA is : ")
+V_C= V_CC-I_C*RC;// in V
+disp(V_C,"The value of V_C in volts is :")