summaryrefslogtreecommitdiff
path: root/2702/CH3/EX3.12/Ex_3_12.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2702/CH3/EX3.12/Ex_3_12.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 '2702/CH3/EX3.12/Ex_3_12.sce')
-rw-r--r--2702/CH3/EX3.12/Ex_3_12.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2702/CH3/EX3.12/Ex_3_12.sce b/2702/CH3/EX3.12/Ex_3_12.sce
new file mode 100644
index 000000000..2de86d1b9
--- /dev/null
+++ b/2702/CH3/EX3.12/Ex_3_12.sce
@@ -0,0 +1,21 @@
+// Exa 3.12
+clc;
+clear;
+close;
+// Given data
+V_B= 5;// in V
+V_BE= 0.7;// in V
+V_CC= 10;// in V
+bita=100;
+R_B= 100;// in kΩ
+R_C= 2;// in kΩ
+R_B=R_B*10^3;// in Ω
+R_C=R_C*10^3;// in Ω
+I_B= (V_B-V_BE)/R_B;// in A
+I_C= bita*I_B;//in A
+V_C= V_CC-I_C*R_C;// in V
+I_E= I_C;// in A (approx)
+disp(I_B*10^3,"The value of I_B in mA is : ")
+disp(I_C*10^3,"The value of I_C in mA is : ")
+disp(V_C,"The value of V_C in volts is : ")
+disp(I_E*10^3,"The value of I_E in mAis : ")