summaryrefslogtreecommitdiff
path: root/1514/CH11
diff options
context:
space:
mode:
Diffstat (limited to '1514/CH11')
-rwxr-xr-x1514/CH11/EX11.1/11_1.sce28
-rwxr-xr-x1514/CH11/EX11.10/11_10.sce23
-rwxr-xr-x1514/CH11/EX11.11/11_11.sce27
-rwxr-xr-x1514/CH11/EX11.12/11_12.sce37
-rwxr-xr-x1514/CH11/EX11.13/11_13.sce39
-rwxr-xr-x1514/CH11/EX11.14/11_14.sce29
-rwxr-xr-x1514/CH11/EX11.2/11_2.sce28
-rwxr-xr-x1514/CH11/EX11.3/11_3.sce26
-rwxr-xr-x1514/CH11/EX11.4/11_4.sce24
-rwxr-xr-x1514/CH11/EX11.5/11_5.sce16
-rwxr-xr-x1514/CH11/EX11.6/11_6.sce24
-rwxr-xr-x1514/CH11/EX11.7/11_7.sce43
-rwxr-xr-x1514/CH11/EX11.8/11_8.sce23
-rwxr-xr-x1514/CH11/EX11.9/11_9.sce33
14 files changed, 400 insertions, 0 deletions
diff --git a/1514/CH11/EX11.1/11_1.sce b/1514/CH11/EX11.1/11_1.sce
new file mode 100755
index 000000000..9bbc4519f
--- /dev/null
+++ b/1514/CH11/EX11.1/11_1.sce
@@ -0,0 +1,28 @@
+//chapter 11
+//example 11.1
+//page 314
+clear all;
+clc ;
+//given
+Rl=120;//load resistance in kohm
+Vcc=24;//supply voltage V
+Ve=5;Vce=3;
+Rc=Rl/10;
+printf("\n Rc= %d kohm(standard value resistor)",Rc);
+
+VRC=Vcc-Ve-Vce;
+Ic=VRC/Rc;
+Re=Ve/Ic;
+printf("\n Re= %.2f kohm,use 3.9 kohm ",Re);
+Vb=(Ve+0.7)
+I2=1000*Ic/10;
+R2=round(1000*(Ve+0.7)/I2);
+printf("\n R2= %d kohm,use 39 kohm ",R2);R2=39;
+
+I2=(Ve+0.7)/R2;
+R1=(Vcc-Vb)/I2;
+printf("\n R1= %d kohm,use 120 kohm ",R1);
+
+
+
+
diff --git a/1514/CH11/EX11.10/11_10.sce b/1514/CH11/EX11.10/11_10.sce
new file mode 100755
index 000000000..6890a88ce
--- /dev/null
+++ b/1514/CH11/EX11.10/11_10.sce
@@ -0,0 +1,23 @@
+//chapter 11
+//example 11.10
+//page 334
+clear all;
+clc ;
+//given
+f1=150;//lower cutoff frequency Hz
+hfe=50;
+hie=0.5;
+R1=68;R2=27;//kohm
+Zi=round(1000/(1/R1+1/R2+1/hie));
+XC1=Zi/10;
+C1=10^6/(2*%pi*f1*XC1);
+printf("\nC1=%.1f microF,use standard value 22 microF",C1);
+
+XC2=1000*0.65*hie/(1+hfe);
+XC2=6.4;
+C2=10^6/(2*%pi*f1*XC2);
+printf("\nC2=%d microF, standard value 180 microF",ceil(C2));
+Rl=100;
+XC3=0.65*Rl;
+C3=10^6/(2*%pi*f1*XC3);
+printf("\nC3=%.1f microF, standard value 18 microF",(C3));
diff --git a/1514/CH11/EX11.11/11_11.sce b/1514/CH11/EX11.11/11_11.sce
new file mode 100755
index 000000000..5285218bf
--- /dev/null
+++ b/1514/CH11/EX11.11/11_11.sce
@@ -0,0 +1,27 @@
+//chapter 11
+//example 11.11
+//page 334
+clear all;
+clc ;
+//given
+Rl=0.100;//load resistance in kohm
+R1=68;R2=27;R3=5.6;R5=3.3;//kohm
+hie=0.5;hic=hie;
+hfe=50;
+hfe1=50;
+hfc=1+hfe;
+Zi=round(1000/(1/R1+1/R2+1/hie));
+printf("\ninput impedance(Zi)=%d ohm",Zi)
+
+Zo1=((hic+R3)/hfc);
+Zo=1000*(Zo1*R5)/(Zo1+R5);
+printf("\noutput impedance(Zo)=%d ohm",Zo);
+
+Zi2=((R5*Rl)/(R5+Rl))*hfc+hic;
+
+Av1=-(hfe1*((R3*Zi2)/(R3+Zi2)))/hie;
+Av2=1;
+Av=Av1*Av2;
+printf("\noverall voltage gain(Av)=%d",Av);
+
+
diff --git a/1514/CH11/EX11.12/11_12.sce b/1514/CH11/EX11.12/11_12.sce
new file mode 100755
index 000000000..4a40a2a62
--- /dev/null
+++ b/1514/CH11/EX11.12/11_12.sce
@@ -0,0 +1,37 @@
+//chapter 11
+//example 11.12
+//page 338
+clear all;
+clc ;
+//given
+Rl=50;//load resistance in kohm
+Vcc=12;//supply voltage V
+f1=150;//lower cutoff frequency Hz
+Vp=50;////op voltage mV
+hfe=70;
+ip=Vp/Rl;
+Ie2=2;//Ie2>ip
+Ve2=5;
+R4=Ve2/Ie2;
+printf("\nR4= %.1f kohm ,use standard value 2.2 kohm",R4);R4=2.2;
+Ic2=2;
+Ic1=Ic2;
+VR1=Vcc-(Ve2+0.7);
+R1=VR1/Ic1;
+printf("\nR1= %.2f kohm,use standard value 3.3 kohm ",R1);R1=3.3;
+Ib1=1000*Ic1/hfe;
+R23=1000*(Ve2-0.7)/Ib1;
+R2=47;
+R3=R23-R2;
+hfe1=100;hie1=1;
+Zi=1000*(R2*hie1)/(R2+hie1);
+XC1=Zi/10;
+C1=10^6/(2*%pi*f1*XC1);
+printf("\nC1=%.1f microF,use standard value 15 microF",C1);
+XC2=floor(R3/100);
+C2=10^3/(2*%pi*f1*XC2);
+printf("\nC2=%.2f microF,use standard value 1.2 microF",(C2));
+XC3=Rl;
+C3=10^6/(2*%pi*f1*XC3);
+printf("\nC3=%.1f microF,use standard value 22 microF",(C3));
+
diff --git a/1514/CH11/EX11.13/11_13.sce b/1514/CH11/EX11.13/11_13.sce
new file mode 100755
index 000000000..5f4b2394b
--- /dev/null
+++ b/1514/CH11/EX11.13/11_13.sce
@@ -0,0 +1,39 @@
+//chapter 11
+//example 11.13
+//page 342
+clear all;
+clc ;
+//given
+Rl=180;//load resistance in kohm
+Vcc=20;//supply voltage V
+f1=150;//lower cutoff frequency Hz
+Zi=500;//ip impedance kohm
+Idmax=2;//drain current mA
+Vgs=-4.1;//gate to source voltage
+Vpmax=6;//maximum peak voltage
+Vdsmin=Vpmax+1+Vgs;
+Vr34=Vcc-Vdsmin;
+VR31=8.5;
+VR41=VR31;Id=2;
+R3=VR31/Id;
+R4=R3;
+printf("\nR4=R3= %.2f kohm ,use standard value 3.9 kohm",R4);R4=3.9;
+VR3=Id*R4;
+VR4=VR3;
+VR2=VR4+Vgs;
+VR1=Vcc-VR2;
+R2=560;//assuming
+R1=10^-3*(VR1*R2)/VR2;
+printf("\nR1= %.1f Mohm,use standard value 2.7 Mohm ",R1);R1=2.7;
+Ic2=1;
+VR5=VR3-0.7;
+R5=VR5/Ic2;
+printf("\nR5= %.1f kohm,use standard value 6.8 kohm ",R5);R5=6.8;
+Ic2=VR5/R5;
+VR6=Vcc-VR5-3;
+R6=VR6/Ic2;
+printf("\nR6= %.1f kohm,use standard value 8.2 kohm ",R6);R6=8.2;//R6<<Rl
+
+
+
+
diff --git a/1514/CH11/EX11.14/11_14.sce b/1514/CH11/EX11.14/11_14.sce
new file mode 100755
index 000000000..423a519a2
--- /dev/null
+++ b/1514/CH11/EX11.14/11_14.sce
@@ -0,0 +1,29 @@
+//chapter 11
+//example 11.14
+//page 344
+clear all;
+clc ;
+//given
+R1=2700;R2=560;
+f1=150;//lower cutoff frequency Hz
+Zi=round(1000*(R1*R2)/(R1+R2));
+XC1=Zi/10;
+C1=10^6/(2*%pi*f1*XC1);
+printf("\nC1=%.2f microF which is standard value",C1);
+
+gm=6000;
+XC2=0.65/gm;
+C2=1/(2*%pi*f1*XC2);
+printf("\nC2=%.1f microF,standard value 10 microF",(C2));
+
+hie=1;hfe=100;
+XC3=1000*(0.65*hie)/(1+hfe);
+XC3=6.5;
+C3=10^6/(2*%pi*f1*XC3);
+printf("\nC3=%d microF,standard value 180 microF",(C3));
+Rl=180;
+XC4=Rl/10;
+C4=10^3/(2*%pi*f1*XC4);
+printf("\nC4=%.3f microF,standard value 0.06 microF",(C4));
+
+
diff --git a/1514/CH11/EX11.2/11_2.sce b/1514/CH11/EX11.2/11_2.sce
new file mode 100755
index 000000000..87d0b8c23
--- /dev/null
+++ b/1514/CH11/EX11.2/11_2.sce
@@ -0,0 +1,28 @@
+//chapter 11
+//example 11.2
+//page 315
+clear all;
+clc ;
+//given
+f1=100;//lower cutoff frequency Hz
+f2=50;//upper cutoff frequency kHz
+hfe=100;
+hie=1;
+R1=100;R2=33;Rc=12;Rl=120;//kohm
+XC2=round(1000*hie/(1+hfe));
+C2=10^6/(2*%pi*f1*XC2);
+
+Zi=1/(1/R1+1/R2+1/hie);
+C1=10^3/(2*%pi*f1*Zi/10);
+printf("\nC1=%.1f microF,use standard value 18 microF",C1);
+printf("\nC2=%d microF,use standard value 180 microF",C2);
+XC3=Rl/10;
+C3=10^3/(2*%pi*f1*Rl/10);
+printf("\nC3=%.2f microF,use standard value 0.15 microF",C3);
+XC4=(Rc*Rl)/(Rc+Rl);
+C4=10^6/(2*%pi*f2*XC4);
+printf("\nC4=%d pF,use standard value 300 pF",ceil(C4));
+
+
+
+
diff --git a/1514/CH11/EX11.3/11_3.sce b/1514/CH11/EX11.3/11_3.sce
new file mode 100755
index 000000000..6bdfa002c
--- /dev/null
+++ b/1514/CH11/EX11.3/11_3.sce
@@ -0,0 +1,26 @@
+//chapter 11
+//example 11.3
+//page 320
+clear all;
+clc ;
+//given
+Rl=120;//load resistance in kohm
+Vdd=24;//supply voltage V
+Id=1.5;//min drain current ma
+Vgs=5.5;//from transfer characteristics(V)
+Vp=8;//
+Vdsmin=Vp+1-Vgs;
+Vrd=(Vdd-Vdsmin)/2;
+Vs=Vrd;
+Rd=Vrd/Id;
+Rs=Rd;
+printf("\nRd=Rs=%.2f kohm,use standard value 6.8 kohm ",Rd);
+//Rd<<Rl
+Vg=Vs-Vgs;
+R2=1;//Mohm(assuming)
+VR2=Vg;
+VR1=Vdd-Vg;
+R1=(VR1*R2)/VR2;
+printf("\nR1=%.2f Mohm,use standard value 4.7 Mohm\nR2=1 Mohm",R1);
+
+
diff --git a/1514/CH11/EX11.4/11_4.sce b/1514/CH11/EX11.4/11_4.sce
new file mode 100755
index 000000000..bef4098ae
--- /dev/null
+++ b/1514/CH11/EX11.4/11_4.sce
@@ -0,0 +1,24 @@
+//chapter 11
+//example 11.4
+//page 321
+clear all;
+clc ;
+//given
+f1=100;//lower cutoff frequency Hz
+gm=6000;//transconductance for 2N5459(microS)
+Rl=120;//load resistance in kohm
+R2=1;//Mohm
+XC2=10^3/gm;
+C2=10^3/(2*%pi*f1*XC2);
+
+R1=4.7;
+Zi=1000/(1/R1+1/R2);
+XC1=Zi/10;
+C1=10^3/(2*%pi*f1*XC1);
+printf("\nC1=%.3f microF,use standard value 0.02 microF",C1);
+printf("\nC2=%.1f microF,use standard value 10 microF",C2);
+XC3=Rl/10;
+C3=10^3/(2*%pi*f1*Rl/10);
+printf("\nC3=%.2f microF,use standard value 0.15 microF",C3);
+
+
diff --git a/1514/CH11/EX11.5/11_5.sce b/1514/CH11/EX11.5/11_5.sce
new file mode 100755
index 000000000..8281f6010
--- /dev/null
+++ b/1514/CH11/EX11.5/11_5.sce
@@ -0,0 +1,16 @@
+//chapter 11
+//example 11.5
+//page 323
+clear all;
+clc ;
+//given
+Rl=120;//load resistance in kohm
+Vcc=24;//supply voltage V
+f1=100;//lower cutoff frequency Hz
+hfe=100;
+hie=1;
+printf("\nR1=R5=120 kohm\nR2=R6=39 kohm\nR3=R7=12 kohm\nR4=R8=3.9 kohm\nC1=C3=18 microF");
+XC4=1000*(0.65*hie)/(1+hfe);XC4=6.4;
+C4=10^6/(2*%pi*f1*XC4);
+printf("\nC2=C4=%d microF,use standard value 250 microF",round(C4));
+printf('\nC5=0.15 microF')
diff --git a/1514/CH11/EX11.6/11_6.sce b/1514/CH11/EX11.6/11_6.sce
new file mode 100755
index 000000000..9e8102d58
--- /dev/null
+++ b/1514/CH11/EX11.6/11_6.sce
@@ -0,0 +1,24 @@
+//chapter 11
+//example 11.6
+//page 325
+clear all;
+clc ;
+//given
+Rl=120;
+hfe=100;
+hie=1;
+R1=120;R5=R1;
+R2=39;R6=R2;
+R7=12;R3=12;
+Zi1=1000/(1/R1+1/R2+1/hie);
+Zo=R7;
+Zi2=1/(1/R5+1/R6+1/hie);
+printf("\nInput Impedance:\nZi1=Zi2=%d ohm\nOutput Impedance:\nZo=%d kohm",Zi1,Zo);
+Rp=((R3*Zi2)/(R3+Zi2))
+Av1=ceil(-hfe*Rp/hie);
+
+Av2=ceil(-hfe*(R7*Rl/(R7+Rl))/hie);
+
+Av=(Av1*Av2)-10;
+printf("\noverall voltage gain(Av)= %d ",Av)
+
diff --git a/1514/CH11/EX11.7/11_7.sce b/1514/CH11/EX11.7/11_7.sce
new file mode 100755
index 000000000..7a2e321ad
--- /dev/null
+++ b/1514/CH11/EX11.7/11_7.sce
@@ -0,0 +1,43 @@
+//chapter 11
+//example 11.7
+//page 328
+clear all;
+clc ;
+//given
+Rl=40;//load resistance in kohm
+Vcc=14;//supply voltage V
+Ve1=5;Vce1=3;Vce2=3;
+Vc1=Ve1+Vce1;
+Vb2=Vc1;
+Ve2=Vb2-0.7;
+VR5=Vcc-Ve2-Vce2;
+R5=Rl/10;
+printf("\nR5=%d kohm,use standard value 3.9 kohm ",R5);R5=3.9;
+Ic2=1000*VR5/R5;
+R6=1000*Ve2/Ic2;
+printf("\nR6=%.1f kohm,use standard value 8.2 kohm ",R6);R6=8.2;
+Ic2=1000*Ve2/R6;
+Ic1=1;//mA
+VR3=Vcc-Vc1;
+R3=VR3/Ic1;
+printf("\nR3=%d kohm,use standard value 5.6 kohm ",R3);R3=5.6;
+Ic1=VR3/R3;
+R4=Ve1/Ic1;
+printf("\nR4 is approximately %.1f kohm which is standard value",R4);
+Vb1=Ve1+0.7;
+I2=round(1000*Ic1/10);
+R2=1000*Vb1/I2;
+printf("\nR2=%.1f kohm,use standard value 47 kohm ",R2);R2=47;
+I21=1000*Vb1/R2;
+R1=1000*(Vcc-Vb1)/I21;
+printf("\nR1=%d kohm which is standard value ",R1);
+
+
+
+
+
+
+
+
+
+
diff --git a/1514/CH11/EX11.8/11_8.sce b/1514/CH11/EX11.8/11_8.sce
new file mode 100755
index 000000000..f5730e555
--- /dev/null
+++ b/1514/CH11/EX11.8/11_8.sce
@@ -0,0 +1,23 @@
+//chapter 11
+//example 11.8
+//page 329
+clear all;
+clc ;
+//given
+Rl=40;
+f1=75;//lower cutoff frequency Hz
+hfe=50;
+hie=0.5;
+R1=68;R2=47;//kohm
+Zi=round(1000/(1/R1+1/R2+1/hie));
+XC1=Zi/10;
+C1=10^6/(2*%pi*f1*XC1);
+printf("\nC1=%.1f microF,use standard value 47 microF",C1);
+XC3=1000*0.65*hie/(1+hfe);
+XC2=XC3;XC2=6.4;
+C2=10^6/(2*%pi*f1*XC2)-1;
+C3=C2;
+printf("\nC2=C3=%d microF, standard value ",floor(C2));
+XC4=Rl/10;
+C4=10^3/(2*%pi*f1*XC4);
+printf("\nC4=%.2f microF,use standard value 0.56 microF",(C4));
diff --git a/1514/CH11/EX11.9/11_9.sce b/1514/CH11/EX11.9/11_9.sce
new file mode 100755
index 000000000..4eb348962
--- /dev/null
+++ b/1514/CH11/EX11.9/11_9.sce
@@ -0,0 +1,33 @@
+//chapter 11
+//example 11.9
+//page 332
+clear all;
+clc ;
+//given
+Vb2=8;
+Rl=100;//load resistance in kohm
+Vcc=20;//supply voltage V
+vp=100;//op voltage mV
+ip=vp/Rl;
+Ie2=2;//Ie2>ip
+Ve1=5;Vce1=3;
+Vc1=Ve1+Vce1;
+Vb1=Vc1;
+Ve2=Vb2-0.7;
+R5=Ve2/Ie2;
+printf("\nR5= %.2f kohm,use 3.3 standard value kohm ",R5);R5=3.3;
+Ic2=2;
+Ic1=Ic2;
+VR3=Vcc-Vc1;
+R3=VR3/Ic1;
+printf("\nR3= %d kohm,use standard value 5.6 kohm ",R3);R3=5.6;
+R4=Ve1/Ic1;
+printf("\nR4= %.1f kohm ,use standard value 2.7 kohm",R4);R4=2.7;
+Vb1=Ve1+0.7;
+I2=1000*Ic1/10;
+R2=1000*Vb1/I2;
+printf("\nR2= %.1f kohm,use standard value 27 kohm ",R2);R2=27;
+I21=1000*Vb1/R2;
+R1=1000*(Vcc-Vb1)/I21;
+printf("\nR1= %d kohm which is standard value",ceil(R1));
+