diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3515/CH3/EX3.5 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.5')
-rw-r--r-- | 3515/CH3/EX3.5/Ex_3_5.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/3515/CH3/EX3.5/Ex_3_5.sce b/3515/CH3/EX3.5/Ex_3_5.sce new file mode 100644 index 000000000..9448bdbe7 --- /dev/null +++ b/3515/CH3/EX3.5/Ex_3_5.sce @@ -0,0 +1,30 @@ +// Exa 3.5
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+V_CC= 6;// in V
+bita= 100;
+R_C= 2;// in kΩ
+R_C= R_C*10^3;// in Ω
+R_B= 530;// in kΩ
+R_B= R_B*10^3;// in Ω
+// when I_C=0
+I_C=0;
+V_CE= V_CC-I_C*R_C;// in volt
+V_CE= 0:0.1:6;// in Volt
+I_C= (V_CC-V_CE)/R_C*1000;// in mA
+plot(V_CE,I_C);
+title("DC load line")
+xlabel("V_CE in volts")
+ylabel("I_C in mA")
+disp("DC load line shown in figure")
+// When V_CE= 0
+I_C= V_CC/R_C;//in A
+// Operating point for silicon transistor
+V_BE= 0.7;// in V
+I_B= (V_CC-V_BE)/R_B;//in A
+I_CQ= bita*I_B;// in A
+V_CEQ= V_CC-I_CQ*R_C;// in volt
+disp("Operating point is "+string(V_CEQ)+" V and "+string(I_CQ*10^3)+" mA")
|