summaryrefslogtreecommitdiff
path: root/2330/CH7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2330/CH7
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2330/CH7')
-rwxr-xr-x2330/CH7/EX7.1/ex7_1.sce29
-rwxr-xr-x2330/CH7/EX7.10/ex7_10.sce24
-rwxr-xr-x2330/CH7/EX7.11/ex7_11.sce25
-rwxr-xr-x2330/CH7/EX7.2/ex7_2.sce18
-rwxr-xr-x2330/CH7/EX7.3/ex7_3.sce21
-rwxr-xr-x2330/CH7/EX7.4/ex7_4.sce17
-rwxr-xr-x2330/CH7/EX7.5/ex7_5.sce17
-rwxr-xr-x2330/CH7/EX7.7/ex7_7.sce32
-rwxr-xr-x2330/CH7/EX7.9/ex7_9.sce28
9 files changed, 211 insertions, 0 deletions
diff --git a/2330/CH7/EX7.1/ex7_1.sce b/2330/CH7/EX7.1/ex7_1.sce
new file mode 100755
index 000000000..3fa17fa7f
--- /dev/null
+++ b/2330/CH7/EX7.1/ex7_1.sce
@@ -0,0 +1,29 @@
+// Example 7.1
+format('v',6)
+clc;
+clear;
+close;
+// given data
+V_CC= 10;// in V
+R_E= 430;// in Ω
+V_BE= 0.7;//in V
+V_B= 5;//in V
+// The collector saturation current,
+I_Csat= V_CC/R_E;// in A
+// The collector emitter voltage,
+V_CEcutoff= V_CC;// in V
+// The collector current,
+I_C= (V_B-V_BE)/R_E;// in A
+// The collector emitter voltage,
+V_CE= V_CC-(V_B-V_BE);// in V
+I_C= I_C*10^3;// in mA
+disp("Q-point is : "+string(V_CE)+" V, "+string(I_C)+" mA");
+disp("DC load line shown in figure")
+I_C= I_C*10^-3;// in A
+V_CE= 0:0.1:V_CEcutoff;// in V
+I_C= (V_CC-V_CE)/R_E*10^3;// in mA
+// The plot of DC load line
+plot(V_CE,I_C);
+xlabel("V_CE in volts");
+ylabel("I_C in mA");
+title("DC load line")
diff --git a/2330/CH7/EX7.10/ex7_10.sce b/2330/CH7/EX7.10/ex7_10.sce
new file mode 100755
index 000000000..279e94527
--- /dev/null
+++ b/2330/CH7/EX7.10/ex7_10.sce
@@ -0,0 +1,24 @@
+// Example 7.10
+format('v',5)
+clc;
+clear;
+close;
+// given data
+R_E= 360;// in Ω
+R_L= 1*10^3;// in Ω
+R1= 100*10^3;//in Ω
+R2= 100*10^3;//in Ω
+r_desh_e1= 250;// in Ω
+r_desh_e2= 2.5;// in Ω
+h_FE= 100;
+h_fe= 100;
+// The load resistance,
+r_L= R_E*R_L/(R_E+R_L);// in Ω
+Zin1= h_FE*h_fe*r_L;// in Ω
+Zin= R1*R2*Zin1/(R1*R2+R2*Zin1+Zin1*R1);// in Ω
+Zin2= h_FE*(r_L+r_desh_e2);// in Ω
+Zin1= h_FE*(Zin2+r_desh_e1);// in Ω
+// The input impedence
+Zin= R1*R2*Zin1/(R1*R2+R2*Zin1+Zin1*R1);// in Ω
+Zin= Zin*10^-3;// in k ohm
+disp(Zin,"The input impedence in kΩ is : ")
diff --git a/2330/CH7/EX7.11/ex7_11.sce b/2330/CH7/EX7.11/ex7_11.sce
new file mode 100755
index 000000000..d96bfa820
--- /dev/null
+++ b/2330/CH7/EX7.11/ex7_11.sce
@@ -0,0 +1,25 @@
+// Example 7.11
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Vin= 20;// in V
+Vz= 10;// in V
+Rs= 680;// in Ω
+V_BE= 0.7;// in V
+R_L= 15;// in Ω
+bita= 80;
+Is= (Vin-Vz)/Rs;// in A
+Vout= Vz-V_BE;// in V
+I_E= Vout/R_L;// in A
+I_L= I_E;// in A
+I_B= I_E/bita;// in A
+// The current through the zener diode
+Iz= Is-I_B;// in A
+V_CE= Vin-Vout;// in V
+// The transistor power dissipation
+Po= I_L*(Vin-Vout);// in W
+Iz= Iz*10^3;// in mA
+disp(Iz,"The current through the zener diode in mA is : ");
+disp(Po,"The transistor power dissipation in watt is : ")
diff --git a/2330/CH7/EX7.2/ex7_2.sce b/2330/CH7/EX7.2/ex7_2.sce
new file mode 100755
index 000000000..6558e9b3c
--- /dev/null
+++ b/2330/CH7/EX7.2/ex7_2.sce
@@ -0,0 +1,18 @@
+// Example 7.2
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Vin= 100;// in mV
+Vin= Vin*10^-3;// in V
+R_E= 430;// in Ω
+R_L= 1*10^3;// in Ω
+r_e= 2.5;// in Ω
+// The ac load resistance,
+r_L= R_E*R_L/(R_E+R_L);// in Ω
+A= r_L/(r_L+r_e);// unit less
+// The output voltage
+Vout= A*Vin;// in V
+Vout= Vout*10^3;// in mV
+disp(Vout,"The output voltage in mV is : ")
diff --git a/2330/CH7/EX7.3/ex7_3.sce b/2330/CH7/EX7.3/ex7_3.sce
new file mode 100755
index 000000000..e92c42073
--- /dev/null
+++ b/2330/CH7/EX7.3/ex7_3.sce
@@ -0,0 +1,21 @@
+// Example 7.3
+format('v',5)
+clc;
+clear;
+close;
+// given data
+R_E= 430;// in Ω
+R_L= 100;// in Ω
+R1= 10*10^3;// in Ω
+R2= 10*10^3;// in Ω
+bita= 200;// unit less
+r_e= 2.5;// in Ω
+r_L= R_E*R_L/(R_E+R_L);// in Ω
+// The voltge gain
+A= r_L/(r_L+r_e);
+disp(A,"The voltge gain is : ")
+Zin_base= bita*(r_L+r_e);// in Ω
+// The input impedence
+Zin= R1*R2*Zin_base/(R1*R2+R2*Zin_base+Zin_base*R1);// in Ω
+Zin= Zin*10^-3;// in k ohm
+disp(Zin,"The input impedence in kΩ is : ")
diff --git a/2330/CH7/EX7.4/ex7_4.sce b/2330/CH7/EX7.4/ex7_4.sce
new file mode 100755
index 000000000..d6ebdaba0
--- /dev/null
+++ b/2330/CH7/EX7.4/ex7_4.sce
@@ -0,0 +1,17 @@
+// Example 7.4
+format('v',6)
+clc;
+clear;
+close;
+// given data
+R_E= 430;// in Ω
+R_L= 100;// in Ω
+R1= 10*10^3;// in Ω
+R2= 10*10^3;// in Ω
+bita= 200;
+r_e= 2.5;// in Ω
+// The load resistance
+r_L= R_E*R_L/(R_E+R_L);// in Ω
+// The power gain
+G= bita*r_L/(r_L+r_e);
+disp(G,"The power gain is : ")
diff --git a/2330/CH7/EX7.5/ex7_5.sce b/2330/CH7/EX7.5/ex7_5.sce
new file mode 100755
index 000000000..9ac232746
--- /dev/null
+++ b/2330/CH7/EX7.5/ex7_5.sce
@@ -0,0 +1,17 @@
+// Example 7.5
+format('v',5)
+clc;
+clear;
+close;
+// given data
+R_C= 5*10^3;// in Ω
+r_e= 25;// in Ω
+Vin= 1*10^-3;// in V
+R_L= 1*10^3;// in Ω
+A= R_C/r_e;
+// Thevenin voltage,
+V_TH= A*Vin;// in V
+// The ac output voltage
+Vout= R_L*V_TH/(R_C+R_L);// in V
+Vout= Vout*10^3;// in mV
+disp(Vout,"The ac output voltage in mV is : ")
diff --git a/2330/CH7/EX7.7/ex7_7.sce b/2330/CH7/EX7.7/ex7_7.sce
new file mode 100755
index 000000000..9c8a9a17e
--- /dev/null
+++ b/2330/CH7/EX7.7/ex7_7.sce
@@ -0,0 +1,32 @@
+// Example 7.7
+format('v',5)
+clc;
+clear;
+close;
+// given data
+V_B= 1.8;// in V
+V_E= 1.1;// in V
+V_TH= 200*10^-3;// in V
+I_E= 1*10^-3;// in A
+r_e= 2.5;//in Ω
+bita=200;
+V_CC= 10;// in V
+R_C= 5*10^3;// in Ω
+R_E= 430;// in Ω
+R_L= 1*10^3;//in Ω
+I_C= I_E;// in A
+// The collector voltage,
+V_C= V_CC-I_C*R_C;// in V
+V_E= 4.3;// in V
+// The emitter current,
+I_E= V_E/R_E;// in A
+// The base current,
+I_B= I_E/bita;// in A
+// The load resistance,
+r_L= R_E*R_L/(R_E+R_L);// in Ω
+Zin= bita*(r_L+r_e);// in Ω
+Vin= Zin*V_TH/(R_C+Zin);// in V
+// The ac output voltage
+Vout= r_L*Vin/(r_L+r_e);//in V
+Vout= Vout*10^3;// in mV
+disp(Vout,"The ac output voltage in mV is : ")
diff --git a/2330/CH7/EX7.9/ex7_9.sce b/2330/CH7/EX7.9/ex7_9.sce
new file mode 100755
index 000000000..33683062b
--- /dev/null
+++ b/2330/CH7/EX7.9/ex7_9.sce
@@ -0,0 +1,28 @@
+// Example 7.9
+format('v',6)
+clc;
+clear;
+close;
+// given data
+R1= 100;//in kΩ
+R2= 100;//in kΩ
+R3= 360;//in Ω
+bita= 100;
+V1= 5;// in V
+v1= 1.4;// in V
+v2= 25;// in mV
+// Voltage at first base
+V2= R1/R2*V1;// in V
+// Emitter current in second transistor
+I_E2= (V2-v1)/R3;// in A
+I_E2= I_E2*10^3;// in mA
+// Resistance of second emitter diode,
+r_desh_e2= v2/I_E2;// in Ω
+// Base current
+I_B2= I_E2/bita;// in mA
+// Emitter current,
+I_E1= I_B2;// in mA
+// First emitter diode resistance
+r_desh_e1= v2/I_E1;// in Ω
+disp(r_desh_e2,"The value of r''e2 in Ω is : ")
+disp(r_desh_e1,"The value of r''e1 in Ω is : ")