From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 226/CH12/EX12.1/example1_sce.sce | 15 +++++++++++++++ 226/CH12/EX12.10/example10_sce.sce | 10 ++++++++++ 226/CH12/EX12.11/example11_sce.sce | 23 +++++++++++++++++++++++ 226/CH12/EX12.12/example12_sce.sce | 17 +++++++++++++++++ 226/CH12/EX12.13/example13_sce.sce | 13 +++++++++++++ 226/CH12/EX12.14/example14_sce.sce | 28 ++++++++++++++++++++++++++++ 226/CH12/EX12.15/example15_sce.sce | 23 +++++++++++++++++++++++ 226/CH12/EX12.16/example16_sce.sce | 16 ++++++++++++++++ 226/CH12/EX12.17/example17_sce.sce | 11 +++++++++++ 226/CH12/EX12.18/example18_sce.sce | 14 ++++++++++++++ 226/CH12/EX12.19/example19_sce.sce | 14 ++++++++++++++ 226/CH12/EX12.2/example2_sce.sce | 14 ++++++++++++++ 226/CH12/EX12.20/example20_sce.sce | 19 +++++++++++++++++++ 226/CH12/EX12.21/example21_sce.sce | 11 +++++++++++ 226/CH12/EX12.22/example22_sce.sce | 19 +++++++++++++++++++ 226/CH12/EX12.23/example23_sce.sce | 17 +++++++++++++++++ 226/CH12/EX12.24/example24_sce.sce | 18 ++++++++++++++++++ 226/CH12/EX12.3/example3_sce.sce | 13 +++++++++++++ 226/CH12/EX12.4/example5_sce.sce | 11 +++++++++++ 226/CH12/EX12.5/example5_sce.sce | 11 +++++++++++ 226/CH12/EX12.7/example7_sce.sce | 11 +++++++++++ 226/CH12/EX12.8/example8_sce.sce | 28 ++++++++++++++++++++++++++++ 226/CH12/EX12.9/example9_sce.sce | 16 ++++++++++++++++ 23 files changed, 372 insertions(+) create mode 100755 226/CH12/EX12.1/example1_sce.sce create mode 100755 226/CH12/EX12.10/example10_sce.sce create mode 100755 226/CH12/EX12.11/example11_sce.sce create mode 100755 226/CH12/EX12.12/example12_sce.sce create mode 100755 226/CH12/EX12.13/example13_sce.sce create mode 100755 226/CH12/EX12.14/example14_sce.sce create mode 100755 226/CH12/EX12.15/example15_sce.sce create mode 100755 226/CH12/EX12.16/example16_sce.sce create mode 100755 226/CH12/EX12.17/example17_sce.sce create mode 100755 226/CH12/EX12.18/example18_sce.sce create mode 100755 226/CH12/EX12.19/example19_sce.sce create mode 100755 226/CH12/EX12.2/example2_sce.sce create mode 100755 226/CH12/EX12.20/example20_sce.sce create mode 100755 226/CH12/EX12.21/example21_sce.sce create mode 100755 226/CH12/EX12.22/example22_sce.sce create mode 100755 226/CH12/EX12.23/example23_sce.sce create mode 100755 226/CH12/EX12.24/example24_sce.sce create mode 100755 226/CH12/EX12.3/example3_sce.sce create mode 100755 226/CH12/EX12.4/example5_sce.sce create mode 100755 226/CH12/EX12.5/example5_sce.sce create mode 100755 226/CH12/EX12.7/example7_sce.sce create mode 100755 226/CH12/EX12.8/example8_sce.sce create mode 100755 226/CH12/EX12.9/example9_sce.sce (limited to '226/CH12') diff --git a/226/CH12/EX12.1/example1_sce.sce b/226/CH12/EX12.1/example1_sce.sce new file mode 100755 index 000000000..bc9d845d5 --- /dev/null +++ b/226/CH12/EX12.1/example1_sce.sce @@ -0,0 +1,15 @@ +//chapter 12 +//example 12.1 +//page 474 +printf("\n") +printf("given") +hfe=50;hie=1*10^3;hib=20;f1=100;Rc=3.3*10^3;Re=Rc; +disp(" required capacitance") +Xc2=hib; +C2=1/(2*3.14*f1*Xc2) +disp(" voltage gain with emitter terminal completely bypassed to ground") +Av=-(hfe*Rc)/hie +disp("voltage gain when f=100") +Av=-(hfe*Rc)/sqrt(((hie^2)+((1+hfe)*Xc2)^2)) +disp(" voltage gain when C2 is incorrectly selected as Xc2=Re/10") +Avx=-(hfe*Rc)/sqrt(((hie^2)+((1+hfe)*(Re/10))^2)) \ No newline at end of file diff --git a/226/CH12/EX12.10/example10_sce.sce b/226/CH12/EX12.10/example10_sce.sce new file mode 100755 index 000000000..cb2e77fdf --- /dev/null +++ b/226/CH12/EX12.10/example10_sce.sce @@ -0,0 +1,10 @@ +//chapter 12 +//example 12.10 +//page 494 +printf("\n") +printf("given") +hfe=50;hie=1.3*10^3;R3=5.6*10^3;R5=3.9*10^3;Rl=40*10^3; +Av1=-(hfe*((R3*hie)/(R3+hie)))/hie +Av2=-(hfe*((R5*Rl)/(R5+Rl)))/hie +disp(" overall voltage gain is Av=Av1*Av2") +Av=Av1*Av2 \ No newline at end of file diff --git a/226/CH12/EX12.11/example11_sce.sce b/226/CH12/EX12.11/example11_sce.sce new file mode 100755 index 000000000..af2d47651 --- /dev/null +++ b/226/CH12/EX12.11/example11_sce.sce @@ -0,0 +1,23 @@ +//chapter 12 +//example 12.11 +//page 497 +printf("\n") +printf("given") +Vp=100*10^-3;Rl=100;Vbe=.7;Vcc=20; +ip=Vp/Rl +disp("select Ie2>ip") +Ie2=2*10^-3; +Ve1=5;Vce1=3; +Vb2=Ve1+Vce1 +Vc1=Vb2; +Ve2=Vb2-Vbe +R5=Ve2/Ie2//use 3.3Kohm standard value +R5=3.3*10^3; +Ic1=1*10^-3; +Vr3=Vcc-Vb2 +R3=Vr3/Ic1 +R4=Ve1/Ic1//use 4.7Kohm standard value +R4=4.7*10^3; +Vb1=Ic1*R4+Vbe +R2=10*R4 +R1=((Vcc-Vb1)*R2)/Vr2 \ No newline at end of file diff --git a/226/CH12/EX12.12/example12_sce.sce b/226/CH12/EX12.12/example12_sce.sce new file mode 100755 index 000000000..22c88dc9e --- /dev/null +++ b/226/CH12/EX12.12/example12_sce.sce @@ -0,0 +1,17 @@ +//chapter 12 +//example 12.11 +//page 498 +printf("\n") +printf("given") +rs=600;Ie1=1*10^-3;hfe=50;R1=120*10^3;R2=47*10^3;f1=150;Ie2=2*10^-3;R5=3.3*10^3;R3=12*10^3;Rl=100; +re=26*10^-3/Ie1 +hie=(1+hfe)*re +Zi=(R1*R2*hie)/(R1*R2+R1*hie+R2*hie) +Xc1=(Zi+rs)/10 +C1=1/(2*3.14*f1*Xc1)//use 6*10^-6 as standard value +Xc2=.65*re +C2=1/(2*3.14*f1*Xc2) +re2=26*10^-3/Ie2 +Zo=(R5*(re2+R3/hfe))/(R5+(re2+R3/hfe)) +Xc3=.65*(Rl+Zo) +C3=1/(2*3.14*f1*Xc3) \ No newline at end of file diff --git a/226/CH12/EX12.13/example13_sce.sce b/226/CH12/EX12.13/example13_sce.sce new file mode 100755 index 000000000..cf6c9e47f --- /dev/null +++ b/226/CH12/EX12.13/example13_sce.sce @@ -0,0 +1,13 @@ +//chapter 12 +//example 12.13 +//page 499 +printf("\n") +printf("given") +Ie2=2*10^-3;hfe=50;R5=3.3*10^3;Rl=100;hfc2=51;R3=12*10^3; +re=26*10^-3/Ie2 +hic=hfe*re +Zi2=hic+hfc2*((Rl*R5)/(Rl+R5)) +Av1=-(hfe*((R3*Zi2)/(R3+Zi2)))/hie +Av2=1 +disp("overall voltage gain is Av=Av1*Av2") +Av=Av1*Av2 \ No newline at end of file diff --git a/226/CH12/EX12.14/example14_sce.sce b/226/CH12/EX12.14/example14_sce.sce new file mode 100755 index 000000000..bb30066fe --- /dev/null +++ b/226/CH12/EX12.14/example14_sce.sce @@ -0,0 +1,28 @@ +//chapter 12 +//example 12.14 +//page 503 +printf("\n") +printf("given") +vp=50*10^-3;Rl=50;Ve2=5;Vcc=12;Vbe=.7;hFE=70;hfe=100;R2=120*10^3;f1=150;R3=150*10^3;R1=5.6*10^3;R4=2.2*10^3; +ip=vp/Rl +disp("select Ie2>ip") +Ie2=2*10^-3; +R4=Ve2/Ie2//use standard 2.2Kohm +R4=2.2*10^3; +Ie2=Ve2/R4 +Ic1=1*10^-3; +Vr1=Vcc-(Vbe+Ve2) +R1=Vr1/Ic1//use 5.6kohm and recalculate +R1=5.6*10^3; +Ic1=Vr1/R1 +Ib1=Ic1/hFE +hie=hfe*(26*10^-3/Ic1) +hie2=hfe*((26*10^-3)/(2.27*10^-3)) +Zi1=(R2*hie)/(R2+hie) +Xc1=Zi1/10 +C1=1/(2*3.14*f1*Xc1) +Xc2=R3/100 +C2=1/(2*3.14*f1*Xc2) +Zo=(((hie2+R1)/hfe)*R4)/(((hie2+R1)/hfe)+R4) +Xc3=Rl+Zo +C3=1/(2*3.14*f1*Xc3) \ No newline at end of file diff --git a/226/CH12/EX12.15/example15_sce.sce b/226/CH12/EX12.15/example15_sce.sce new file mode 100755 index 000000000..d971e3c09 --- /dev/null +++ b/226/CH12/EX12.15/example15_sce.sce @@ -0,0 +1,23 @@ +//chapter 12 +//example 12.15 +//page 407 +printf("\n") +printf("given") +Vgsoff=-6;Idss=20*10^-3;Yfs=4000*10^-6;Id=2*10^-3;Vcc=20;Zi=500*10^3;R2=560*10^3;Rl=80*10^3;Vbe=.7;Vce=3; +Vgs=Vgsoff*(1-sqrt(Id/Idss)) +Vds=(-Vgsoff)+1-(-Vgs) +Vr3=(Vcc-Vds)/2 +Vr4=Vr3; +R3=Vr4/Id//use 3.9kohm as standard and recalculate Vr3 and Vr4 +R4=R3; +R4=3.9*10^3; +Vr3=Id*R4 +Vr4=Vr3; +Vr2=Vr4-(-Vgs) +Vr1=Vcc-Vr2 +R1=(Vr1*R2)/Vr2 +R6=Rl/10 +Vr5=Vr3-Vbe +Vr6=Vcc-Vr5-Vce +Ic2=Vr6/R6 +R5=Vr5/Ic2 \ No newline at end of file diff --git a/226/CH12/EX12.16/example16_sce.sce b/226/CH12/EX12.16/example16_sce.sce new file mode 100755 index 000000000..671209a40 --- /dev/null +++ b/226/CH12/EX12.16/example16_sce.sce @@ -0,0 +1,16 @@ +//chapter 12 +//example 12.16 +//page 508 +printf("\n") +printf("given") +R1=2.7*10^6;R2=560*10^3;f1=150;Yfs=8000*10^-6;Ie=1.2*10^-3;Rl=80*10^3;R6=8.2*10^3; +Zi=(R1*R2)/(R1+R2) +Xc1=Zi/10 +C1=1/(2*3.14*f1*Xc1) +Xc2=.65/Yfs +C2=1/(2*3.14*f1*Xc2)//use 15pF as standard value +re=26*10^-3/Ie +Xc3=.65*re +C3=1/(2*3.14*f1*Xc3) +Xc4=(R6+Rl)/10 +C4=1/(2*3.14*f1*Xc4) \ No newline at end of file diff --git a/226/CH12/EX12.17/example17_sce.sce b/226/CH12/EX12.17/example17_sce.sce new file mode 100755 index 000000000..1caa591d5 --- /dev/null +++ b/226/CH12/EX12.17/example17_sce.sce @@ -0,0 +1,11 @@ +//chapter 12 +//example 12.17 +//page 509 +printf("\n") +printf("given") +re=22;hfe=100;R3=3.9*10^3;Yfs=4000*10^-6;R6=8.2*10^3;Rl=80*10^3; +Zi2=hfe*re +Av1=-Yfs*((R3*Zi2)/(R3+Zi2)) +Av2=-(hfe*((R6*Rl)/(R6+Rl)))/Zi2 +disp("overall voltage is Av=Av1*Av2") +Av=Av1*Av2 \ No newline at end of file diff --git a/226/CH12/EX12.18/example18_sce.sce b/226/CH12/EX12.18/example18_sce.sce new file mode 100755 index 000000000..cbeb0d6a4 --- /dev/null +++ b/226/CH12/EX12.18/example18_sce.sce @@ -0,0 +1,14 @@ +//chapter 12 +//example 12.18 +//page 516 +printf("\n") +printf("given") +hFE=60;hfe=60;hie=1.4*10^3;Rl=70*10^3;Vce=3;Vbe=.7;Vcc=10; +Rc2=Rl/10//use 6.8Kohm as standard value +Vrc2=Vcc+Vbe-Vce +Ic=Vrc2/Rc2 +Ie=Ic; +Re=(Vcc-Vbe)/(2*Ie)//use 4.7 as standard value +Re=4.7*10^3; +Rb=Vbe/(10*(Ic/hFE)) +Rb1=Rb; \ No newline at end of file diff --git a/226/CH12/EX12.19/example19_sce.sce b/226/CH12/EX12.19/example19_sce.sce new file mode 100755 index 000000000..ea8b6c87b --- /dev/null +++ b/226/CH12/EX12.19/example19_sce.sce @@ -0,0 +1,14 @@ +//chapter 12 +//example 12.19 +//page 517 +printf("\n") +printf("given") +f1=60;Ie=1.13*10^-3;hfe=60;Rb=3.9*10^3;Rl=70*10^3;Rc=6.8*10^3; +re=26*10^-3/Ie//use 20 as standard value +re=20; +hie=hfe*re +Zb=2*hie +Zi=(Rb*Zb)/(Rb+Zb) +C1=1/(2*3.14*f1*Zi) +C2=1/(2*3.14*f1*(Rl/10)) +Av=(hfe*((Rc*Rl)/(Rc+Rl)))/(2*hie) \ No newline at end of file diff --git a/226/CH12/EX12.2/example2_sce.sce b/226/CH12/EX12.2/example2_sce.sce new file mode 100755 index 000000000..f7f97675a --- /dev/null +++ b/226/CH12/EX12.2/example2_sce.sce @@ -0,0 +1,14 @@ +//chapter 12 +//example 12.2 +//page 477 +printf("\n") +printf("given") +Vcc=24;Ve=5;Vce=3;Rl=120*10^3;Vbe=.7 +Rc=Rl/10 +Vrc=Vcc-Vce-Ve +Ic=Vrc/Rc +Re=Ve/Ic//use 3.9Kohm standard value to make Ic littel less than design level +Re=3.9*10^3; +R2=10*Re +I2=(Ve+Vbe)/R2 +R1=(Vcc-Ve-Vbe)/I2 \ No newline at end of file diff --git a/226/CH12/EX12.20/example20_sce.sce b/226/CH12/EX12.20/example20_sce.sce new file mode 100755 index 000000000..ef19ab8b4 --- /dev/null +++ b/226/CH12/EX12.20/example20_sce.sce @@ -0,0 +1,19 @@ +//chapter 12 +//example 12.20 +//page 521 +printf("\n") +printf("given") +Vcc=20;Rl=90*10^3;hfe=50;hie=1.2*10^3;hib=24;Vce=3;Vce1=Vce;Ve=5;Vbe=.7; +Rc=Rl/10//use 8.2kohm as standard value +Rc=8.2*10^3; +Vrc=Vcc-Vce-Vce1-Ve +Ic=Vrc/Rc +Re=Ve/Ic +Re=4.7*10^3;//use 4.7 as standard value +R3=10*Re +Vb1=Ve+Vbe +I3=Vb1/R3 +Vb2=Ve+Vce+Vbe +Vr2=Vb2-Vb1 +R2=Vr2/I3 +R1=(Vcc-Vb2)/I3 \ No newline at end of file diff --git a/226/CH12/EX12.21/example21_sce.sce b/226/CH12/EX12.21/example21_sce.sce new file mode 100755 index 000000000..4b1040495 --- /dev/null +++ b/226/CH12/EX12.21/example21_sce.sce @@ -0,0 +1,11 @@ +//chapter 12 +//example 12.21 +//page 522 +printf("\n") +printf("given") +f1=25;R2=24.7*10^3;R3=47*10^3;hie=1.2*10^3;hib=24;Rc=9*10^3;Rl=90*10^3; +Zi=(R2*R3*hie)/(R2*R3+R2*hie+R3*hie) +C1=1/(2*3.14*f1*(Zi/10)) +C2=1/(2*3.14*f1*(hie/10)) +C3=1/(2*3.14*f1*hib) +C4=1/(2*3.14*f1*((Rc+Rl)/10)) \ No newline at end of file diff --git a/226/CH12/EX12.22/example22_sce.sce b/226/CH12/EX12.22/example22_sce.sce new file mode 100755 index 000000000..f7e9b73c9 --- /dev/null +++ b/226/CH12/EX12.22/example22_sce.sce @@ -0,0 +1,19 @@ +//chapter 12 +//example 12.22 +//page 525 +printf("\n") +printf("given") +hie=1*10^3;hfe=50;hoe=10*10^-6;Cc=5*10^-12;Cp=330*10^-12;Lp=75*10^-6;Rw=1;Rl=5*10^3;hfb=50;fo=1*10^6; +fo=1/(2*3.14*sqrt(Lp*(Cp+Cc))) +printf("resonance frequency is %3fHz\n",fo) +Zp=Lp/((Cp+Cc)*Rw) +Rc=1/hoe +RL=(Zp*Rc*Rl)/(Rl*Rc+Rc*Zp+Rl*Zp); +RL=4.7*10^3;//as standard value +Av=(hfb*RL)/hie; +printf(" voltage gain is %d\n",Av) +Qp=((Rc*Rl)/(Rc+Rl))/(2*3.14*fo*Lp) +QL=(2*3.14*fo*Lp)/Rw +disp("since QL>Qp") +B=fo/Qp; +printf("bandwidth is %dHz\n",B) diff --git a/226/CH12/EX12.23/example23_sce.sce b/226/CH12/EX12.23/example23_sce.sce new file mode 100755 index 000000000..d673d3aef --- /dev/null +++ b/226/CH12/EX12.23/example23_sce.sce @@ -0,0 +1,17 @@ +//chapter 12 +//example 12.23 +//page 528 +printf("\n") +printf("given") +hie=1*10^3;hfe=50;hoe=10*10^-6;Cc=5*10^-12;Cp=330*10^-12;Lp=75*10^-6;Rw=1;Rl=5*10^3;fo=1*10^6;zP=224*10^3;rC=100*10^3;K=.015;Ls=50*10^-6; +RL=(Zp*Rc)/(Rc+Zp) +disp("voltage gain from the input to the primary memory winding") +Avp=(hfe*RL)/hie +Vsp=K*sqrt(Ls/Lp) +disp("overall voltage gain from the input to teh secondary winding") +Av=Avp*Vsp +Qp=Rc/(2*3.14*fo*Lp) +Ql=471; +Q=(Ql*Qp)/(Ql+Qp) +B=fo/Q; +printf("bandwidth is %dHz\n",B) \ No newline at end of file diff --git a/226/CH12/EX12.24/example24_sce.sce b/226/CH12/EX12.24/example24_sce.sce new file mode 100755 index 000000000..ca1c93c10 --- /dev/null +++ b/226/CH12/EX12.24/example24_sce.sce @@ -0,0 +1,18 @@ +//chapter 12 +//example 12.24 +//page 530 +printf("\n") +printf("given") +f=1*10^6;L2=50*10^-6;K=.015;L1=75*10^-6;rs=5;Rw=1;Lp=100*10^-6;Cp=330*10^-12;Cc=5*10^-12;Rc=100*10^3;hfe=50;hie=1*10^3; +C2=1/(((2*3.14*f)^2)*L2) +M=K*sqrt(L1*L2) +Rs=(((2*3.14*f)^2)*(M)^2)/rs +Rp=Rs+Rw +Zp=Lp/((Cp+Cc)*Rp) +Rl=(Zp*Rc)/(Zp+Rc) +disp("voltage gain from the input to primary winding") +Avp=(hfe*Rl)/hie +Vsp=12.2*10^-3; +Vos=((2*3.14*f)*L2)/rs +disp("overall voltage gain from the input to secondary winding ") +Av=Avp*Vos*Vsp \ No newline at end of file diff --git a/226/CH12/EX12.3/example3_sce.sce b/226/CH12/EX12.3/example3_sce.sce new file mode 100755 index 000000000..5e76fd2e3 --- /dev/null +++ b/226/CH12/EX12.3/example3_sce.sce @@ -0,0 +1,13 @@ +//chapter 12 +//example 12.3 +//page 477 +printf("\n") +printf("given") +hfe=100;Ie=1.3*10^-3;f1=100;R1=120*10^3;R2=39*10^3;rs=600;Rl=R1; +re=(26*10^-3)/Ie +Xc2=re; +C2=1/(2*3.14*f1*Xc2) +hie=(1+hfe)*re +Zi=(R1*R2*hie)/(R1*R2+R1*hie+R2*hie) +C1=1/((2*3.14*f1*((Zi+rs)/10))) +C3=1/(2*3.14*f1*((Rc+Rl)/10)) \ No newline at end of file diff --git a/226/CH12/EX12.4/example5_sce.sce b/226/CH12/EX12.4/example5_sce.sce new file mode 100755 index 000000000..fe82e40db --- /dev/null +++ b/226/CH12/EX12.4/example5_sce.sce @@ -0,0 +1,11 @@ +//chapter 12 +//example 12.5 +//page 485 +printf("\n") +printf("given") +rs=600;f1=100;Yfs=6000*10^-6;R1=4.7*10^6;R2=1*10^6;Rd=6.8*10^3;Rl=120*10^3; +Xc2=1/Yfs +C2=1/(2*3.14*f1*Xc2) +Zi=(R1*R2)/(R1+R2) +C1=1/(2*3.14*f1*(Zi+rs)/10) +C3=1/(2*3.14*f1*(Rd+Rl)/10) \ No newline at end of file diff --git a/226/CH12/EX12.5/example5_sce.sce b/226/CH12/EX12.5/example5_sce.sce new file mode 100755 index 000000000..fe82e40db --- /dev/null +++ b/226/CH12/EX12.5/example5_sce.sce @@ -0,0 +1,11 @@ +//chapter 12 +//example 12.5 +//page 485 +printf("\n") +printf("given") +rs=600;f1=100;Yfs=6000*10^-6;R1=4.7*10^6;R2=1*10^6;Rd=6.8*10^3;Rl=120*10^3; +Xc2=1/Yfs +C2=1/(2*3.14*f1*Xc2) +Zi=(R1*R2)/(R1+R2) +C1=1/(2*3.14*f1*(Zi+rs)/10) +C3=1/(2*3.14*f1*(Rd+Rl)/10) \ No newline at end of file diff --git a/226/CH12/EX12.7/example7_sce.sce b/226/CH12/EX12.7/example7_sce.sce new file mode 100755 index 000000000..cf5a298fe --- /dev/null +++ b/226/CH12/EX12.7/example7_sce.sce @@ -0,0 +1,11 @@ +//chapter 12 +//example 12.7 +//page 489 +printf("\n") +printf("given") +R1=120*10^3;R2=39*10^3;hie=2*10^3;R7=12*10^3;Zo=R7;R5=R1;R6=R2;hfe=100;R3=R7;Zl=R1; +Zi=(R1*R2*hie)/(R1*R2+R1*hie+R2*hie) +Zi2=(R1*R2*hie)/(R1*R2+R1*hie+R2*hie) +Av1=-(hfe*((R3*Zi2)/(R3+Zi2)))/hie +Av2=-(hfe*((R7*Zl)/(R7+Zl)))/hie +Av=Av1*Av2 \ No newline at end of file diff --git a/226/CH12/EX12.8/example8_sce.sce b/226/CH12/EX12.8/example8_sce.sce new file mode 100755 index 000000000..9f9ad74d7 --- /dev/null +++ b/226/CH12/EX12.8/example8_sce.sce @@ -0,0 +1,28 @@ +//chapter 12 +//example 12.8 +//page 491 +printf("\n") +printf("given") +Ve1=5;Vce1=3;Vce2=3;Vbe=.7;Vcc=14;Rl=40*10^3; +Vb2=Ve1+Vce1 +Vc1=Vb2; +Ve2=Vb2-Vbe +Vr5=Vcc-Ve2-Vce2 +R5=Rl/10//use 3.9Kohm satandard value +R5=3.9*10^3; +Ic2=Vr5/R5 +R6=Ve2/Ic2//use 8.2Kohm as standard and recalculate +R6=8.2*10^3; +Ic2=Ve2/R6 +Vr3=Vcc-Vc1 +disp(" Ic1>>Ib2,select Ic1=1mA") +Ic1=1*10^-3; +R3=Vr3/Ic1//use standard value as 5.6Kohm and recalculate Ic1 in order ti keep Vb2=8V +R3=5.6*10^3; +Ic1=Vr3/R3 +R4=Ve1/Ic1 +Vr2=Ve1+Vbe +Vr1=Vcc-Ve1-Vbe +R2=10*R4 +I2=(Ve1+Vbe)/R2 +R1=(Vr1*R2)/Vr2 \ No newline at end of file diff --git a/226/CH12/EX12.9/example9_sce.sce b/226/CH12/EX12.9/example9_sce.sce new file mode 100755 index 000000000..60775608c --- /dev/null +++ b/226/CH12/EX12.9/example9_sce.sce @@ -0,0 +1,16 @@ +//chapter 12 +//example 12.9 +//page 493 +printf("\n") +printf("given") +hfe=50;re=26;R1=68*10^3;R2=47*10^3;rs=600;f1=75;R5=3.9*10^3;Rl=40*10^3; +hie=(1+hfe)*re +Zi=(R1*R2*hie)/(R1*R2+R1*hie+R2*hie) +Xc1=(Zi+rs)/10 +C1=1/(2*3.14*f1*Xc1) +Xc2=.65*re +Xc3=Xc2; +C2=1/(2*3.14*f1*Xc2) +C3=C2; +Xc4=(R5+Rl)/10 +C4=1/(2*3.14*f1*Xc4) \ No newline at end of file -- cgit