summaryrefslogtreecommitdiff
path: root/2702/CH3/EX3.22/Ex_3_22.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.22/Ex_3_22.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.22/Ex_3_22.sce')
-rw-r--r--2702/CH3/EX3.22/Ex_3_22.sce46
1 files changed, 46 insertions, 0 deletions
diff --git a/2702/CH3/EX3.22/Ex_3_22.sce b/2702/CH3/EX3.22/Ex_3_22.sce
new file mode 100644
index 000000000..0b8516beb
--- /dev/null
+++ b/2702/CH3/EX3.22/Ex_3_22.sce
@@ -0,0 +1,46 @@
+// Exa 3.22
+clc;
+clear;
+close;
+// Given data
+// Part (a)
+bita= 30;
+R_C= 2.2;// in kΩ
+R_C=R_C*10^3;// in Ω
+R_B= 2.2;// in kΩ
+R_B=R_B*10^3;// in Ω
+VCC= 3;// in V
+VCE= -3;// in V
+VBE= 0.7;// in V
+V_B= 0;// in V
+V_E= V_B-VBE;// in V
+I_E= (V_E-VCE)/R_B;// in A
+I_C= I_E;// in A
+V_C= VCC-I_E*R_C;// in V
+I_B= I_C/bita;// in A
+disp("Part (a)")
+disp(V_B,"The value of V_B in V is : ")
+disp(V_E,"The value of V_E in V is : ")
+disp(I_E*10^3,"The value of I_E in mA is : ")
+disp(V_C,"The value of V_C in V is : ")
+disp(I_B*10^3,"The value of I_B in mA is : ")
+// Part (b)
+R_C= 560;// in Ω
+R_B= 1.1;// in kΩ
+R_B=R_B*10^3;// in Ω
+VCC= 9;// in V
+VCE= 3;// in V
+V_B= 3;// in V
+V_E= V_B+VBE;// in V
+I_E= (VCC-V_E)/R_B;// in A
+alpha= bita/(1+bita);
+I_C= I_E*alpha;// in A
+V_C= I_C*R_C;// in V
+I_B= I_C/bita;// in A
+disp("Part (b)")
+disp(V_B,"The value of V_B in V is : ")
+disp(V_E,"The value of V_E in V is : ")
+disp(I_C*10^3,"The value of I_E in mA is : ")
+disp(V_C,"The value of V_C in V is : ")
+disp(I_B*10^3,"The value of I_B in mA is : ")
+