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/CH18/EX18.1/example1_sce.sce | 16 ++++++++++++++++ 226/CH18/EX18.10/example10_sce.sce | 10 ++++++++++ 226/CH18/EX18.11/example11_sce.sce | 14 ++++++++++++++ 226/CH18/EX18.12/example12_sce.sce | 13 +++++++++++++ 226/CH18/EX18.13/example13_sce.sce | 13 +++++++++++++ 226/CH18/EX18.2/example2_sce.sce | 23 +++++++++++++++++++++++ 226/CH18/EX18.3/example3_sce.sce | 15 +++++++++++++++ 226/CH18/EX18.4/example4_sce.sce | 13 +++++++++++++ 226/CH18/EX18.5/example5_sce.sce | 10 ++++++++++ 226/CH18/EX18.6/example6_sce.sce | 28 ++++++++++++++++++++++++++++ 226/CH18/EX18.7/example7_sce.sce | 14 ++++++++++++++ 226/CH18/EX18.8/example8_sce.sce | 23 +++++++++++++++++++++++ 226/CH18/EX18.9/example9_sce.sce | 17 +++++++++++++++++ 13 files changed, 209 insertions(+) create mode 100755 226/CH18/EX18.1/example1_sce.sce create mode 100755 226/CH18/EX18.10/example10_sce.sce create mode 100755 226/CH18/EX18.11/example11_sce.sce create mode 100755 226/CH18/EX18.12/example12_sce.sce create mode 100755 226/CH18/EX18.13/example13_sce.sce create mode 100755 226/CH18/EX18.2/example2_sce.sce create mode 100755 226/CH18/EX18.3/example3_sce.sce create mode 100755 226/CH18/EX18.4/example4_sce.sce create mode 100755 226/CH18/EX18.5/example5_sce.sce create mode 100755 226/CH18/EX18.6/example6_sce.sce create mode 100755 226/CH18/EX18.7/example7_sce.sce create mode 100755 226/CH18/EX18.8/example8_sce.sce create mode 100755 226/CH18/EX18.9/example9_sce.sce (limited to '226/CH18') diff --git a/226/CH18/EX18.1/example1_sce.sce b/226/CH18/EX18.1/example1_sce.sce new file mode 100755 index 000000000..83830e208 --- /dev/null +++ b/226/CH18/EX18.1/example1_sce.sce @@ -0,0 +1,16 @@ +//chapter 18 +//example 18.1 +//page 761 +printf("\n") +printf("given") +Vs=21;Vo=12;Av=100; +vo=(Vs*.1)/Av;//source effect is 10% of the Vs +printf(" source effect is %3.3fV\n",vo) +vo=(21-20)/100; +printf(" laod effect is %3.3fV\n",vo) +LR=(21*10^-3 *100)/12; +printf("line regulation is %3.3fpercentage\n",LR) +LR=(10*10^-3*100)/12; +printf(" load effect is %3.3fpercentage \n",LR) +RJ=20*log10(1/Av); +printf("ripple rejection is %ddB\n",RJ) \ No newline at end of file diff --git a/226/CH18/EX18.10/example10_sce.sce b/226/CH18/EX18.10/example10_sce.sce new file mode 100755 index 000000000..cb81f9b26 --- /dev/null +++ b/226/CH18/EX18.10/example10_sce.sce @@ -0,0 +1,10 @@ +//chapter 18 +//example 18.10 +//page 785 +printf("\n") +printf("given") +I1=1*10^-3;Vref=1.25;Vo=6;Vs=15;Il=200*10^-3; +R1=Vref/I1 +R2=(Vo-Vref)/I1 +Pd=(Vs-Vo)*Il; +printf("regulated power dissipation is %3.2fW\n",Pd) \ No newline at end of file diff --git a/226/CH18/EX18.11/example11_sce.sce b/226/CH18/EX18.11/example11_sce.sce new file mode 100755 index 000000000..e9d941311 --- /dev/null +++ b/226/CH18/EX18.11/example11_sce.sce @@ -0,0 +1,14 @@ +//chapter 18 +//example 18.11 +//page 788 +printf("\n") +printf("given") +Vo=10;Io=1;Vce=7;Vf=1; +Po=Vo*Io +disp(" linear regulator") +Pi=Po+(Vce*Io) +n=(Po*100)/Pi//efficiency +disp(" switching regulator") +Vce=1; +Pi=Po+Io*(Vce+Vf) +n=(Po*100)/Pi//efficiency \ No newline at end of file diff --git a/226/CH18/EX18.12/example12_sce.sce b/226/CH18/EX18.12/example12_sce.sce new file mode 100755 index 000000000..af56a88fe --- /dev/null +++ b/226/CH18/EX18.12/example12_sce.sce @@ -0,0 +1,13 @@ +//chapter 18 +//example 18.12 +//page 792 +printf("\n") +printf("given") +f=50*10^3;Vo=12;Vf=.7;Vi=30;Vsat=1;Io=500*10^-3;Vr=100*10^-3; +T=1/f +t=(Vo+Vf)/(Vi-Vsat-Vo) +toff=T/1.75 +ton=T-toff +Ip=2*Io +L1=((Vi-Vsat-Vo)*ton)/Ip +C1=Ip/(8*f*Vr) \ No newline at end of file diff --git a/226/CH18/EX18.13/example13_sce.sce b/226/CH18/EX18.13/example13_sce.sce new file mode 100755 index 000000000..3e7f2bc68 --- /dev/null +++ b/226/CH18/EX18.13/example13_sce.sce @@ -0,0 +1,13 @@ +//chapter 18 +//example 18.13 +//page 799 +printf("\n") +printf("given") +disp(" an MC34063 controller is for step down transformer") +Ib=-400*10^-3;I1=1*10^-3;Vref=1.25;V0=12;Ip=1;ton=8.6*10^-6; +R1=Vref/I1 +R1=1.2*10^3;//use standard value +I1=Vref/R1 +R2=(Vo-Vref)/I1 +Rsc=.33/Ip +Ct=4.8*10^-5 *ton \ No newline at end of file diff --git a/226/CH18/EX18.2/example2_sce.sce b/226/CH18/EX18.2/example2_sce.sce new file mode 100755 index 000000000..0dc0e65b7 --- /dev/null +++ b/226/CH18/EX18.2/example2_sce.sce @@ -0,0 +1,23 @@ +//chapter 18 +//example 18.2 +//page 762 +printf("\n") +printf("given") +Vo=12;Il=40*10^-3;Vs=20;Vbe=.7; +Vz=.75*Vo +disp("for minimum D1 current select") +Ir2=10*10^-3; +R2=(Vo-Vz)/Ir2 +Ie1=Il+Ir2 +disp("specification for Q") +Vce1=20;Vs=Vce1; +Ic1=50*10^-3; +Pd=(Vs-Vo)*Ie1 +hfe=50; +Ib1=Ie1/hfe +Ic2=5*10^-3; +R1=(Vs-(Vo+.7))/(Ic2+Ib1) +Iz=Ie2+Ir2 +I4=1*10^-3; +R4=(Vz+Vbe)/I4 +R3=(Vo-(Vz+Vbe))/I4 \ No newline at end of file diff --git a/226/CH18/EX18.3/example3_sce.sce b/226/CH18/EX18.3/example3_sce.sce new file mode 100755 index 000000000..04ee8b8fd --- /dev/null +++ b/226/CH18/EX18.3/example3_sce.sce @@ -0,0 +1,15 @@ +//chapter 18 +//example 18.3 +//page 765 +printf("\n") +printf("given") +I4=1*10^-3;Vb2=9.8; +disp(" for Vo=11V moving contact at top of R5") +Vo=11; +R3=(Vo-Vb2)/I4 +R=Vb2/I4//R=R4+R5 +disp(" for Vo=13V moving contact at bottom of R5") +Vo=13; +I4=Vo/(R3+R) +R4=Vb2/I4 +R5=R-R4 \ No newline at end of file diff --git a/226/CH18/EX18.4/example4_sce.sce b/226/CH18/EX18.4/example4_sce.sce new file mode 100755 index 000000000..2ed11d456 --- /dev/null +++ b/226/CH18/EX18.4/example4_sce.sce @@ -0,0 +1,13 @@ +//chapter 18 +//example 18.4 +//page 766 +printf("\n") +printf("given") +hFE3=50;hFE1=20;Ie1=200*10^-3+10*10^-3;Ic2=1*01^-3;Vs=20;Vb3=13.4;Vo=12;Vbe=.7; +Ib1=Ie1/hFE1 +Ib3=Ib1/hFE3 +R1=(Vs-Vb3)/(Ic2+Ib3) +disp("select I6=.5*10^-3") +I6=.5*10^-3; +R6=(Vo+Vbe)/I6 +Pd=(Vs-Vo)*Ie1 \ No newline at end of file diff --git a/226/CH18/EX18.5/example5_sce.sce b/226/CH18/EX18.5/example5_sce.sce new file mode 100755 index 000000000..8a931b278 --- /dev/null +++ b/226/CH18/EX18.5/example5_sce.sce @@ -0,0 +1,10 @@ +//chapter 18 +//example 18.5 +//page 769 +printf("\n") +printf("given") +Vr1=3;Ic2=1*10^-3;Ib3=.21*10^-3;Vbe1=.7;Vbe3=Vbe1;Vs=20; +R1=Vr1/(Ic2+Ib3) +Vz2=Vo+Vbe1+Vbe3+Vr1 +Ir7=5*10^-3; +R2=(Vs-Vz2)/Ir7 \ No newline at end of file diff --git a/226/CH18/EX18.6/example6_sce.sce b/226/CH18/EX18.6/example6_sce.sce new file mode 100755 index 000000000..1c92307ce --- /dev/null +++ b/226/CH18/EX18.6/example6_sce.sce @@ -0,0 +1,28 @@ +//chapter 18 +//example 18.6 +//page 770 +printf("\n") +printf("given") +Vc5=9.8;Vb2=Vc5;Vce5=3;Vbe=.7;Vo=12; +Vr9=Vc5-Vce5 +Vz2=Vr9+Vbe +Ic5=1*10^-3; +R8=(Vo-Vc5)/Ic5 +Ir9=2*Ic5 +R9=Vr9/Ir9 +disp(" Iz2>>Ib5 and Iz2>(Izk for the zener diode)") +Iz2=10*10^-3; +R7=(Vo-Vz2)/Iz2 +I4=1*10^-3; +Vb6=7.5;Vz2=Vb6; +disp(" when Vo=11V(moving contact at top of R5)") +Vo=11; +R3=(Vo-Vb6)/I4 +R3=3.3*10^3;//use standard value +I4=(Vo-Vb6)/R3 +R=Vb6/I4//R=R4+R5 +disp(" when Vo=13V(moving contact at bottom of R5)") +Vo=13;Vb6=7.5; +I4=Vo/(R3+R) +R4=Vb6/I4 +R5=R-R4 \ No newline at end of file diff --git a/226/CH18/EX18.7/example7_sce.sce b/226/CH18/EX18.7/example7_sce.sce new file mode 100755 index 000000000..4542c2063 --- /dev/null +++ b/226/CH18/EX18.7/example7_sce.sce @@ -0,0 +1,14 @@ +//chapter 18 +//example 18.7 +//page 7 +printf("\n") +printf("given") +Isc=100*10^-3;Vr10=.5;Vo=12; +R10=Vr10/Isc +R10=4.7;//use standard value +Il=200*10^-3; +Vr10=Il*R10 +Vr11=Vr10-.5 +I11=1*10^-3; +R11=Vr11/I11 +R12=(Vo+Vr10-Vr11)/I11 \ No newline at end of file diff --git a/226/CH18/EX18.8/example8_sce.sce b/226/CH18/EX18.8/example8_sce.sce new file mode 100755 index 000000000..784bff263 --- /dev/null +++ b/226/CH18/EX18.8/example8_sce.sce @@ -0,0 +1,23 @@ +//chapter 18 +//example 18.8 +//page 778 +printf("\n") +printf("given") +Vo=12;hFE1=20;hFE2=50;Il=250*10^-3; +Vz=.75*Vo +Vz=9.1;//use standard value for 1N757 diode +Iz1=10*10^-3; +R1=(Vo-Vz)/Iz1 +I3=1*10^-3; +disp(" when V0=12V(moving contact at top of R5)") +R3=(Vo-Vz)/I3 +R=Vz/I3 +disp(" when Vo=15V moving contact at bottom of R5") +Vo=15; +I3=Vo/(R+R3) +R4=Vz/I3 +R5=R-R4 +Ir6=.5*10^-3; +R6=Vo/Ir6 +disp(" op-amp output current") +Ib2=Il/(hFE1*hFE2) \ No newline at end of file diff --git a/226/CH18/EX18.9/example9_sce.sce b/226/CH18/EX18.9/example9_sce.sce new file mode 100755 index 000000000..42c102525 --- /dev/null +++ b/226/CH18/EX18.9/example9_sce.sce @@ -0,0 +1,17 @@ +//chapter 18 +//example 18.9 +//page 782 +printf("\n") +printf("given") +I2=1*10^-3;Vr2=7.15;Vref=Vr2;Vo=10;Pdmax=1000*10^-3; +R2=Vref/I2 +R2=6.8*10^3;//use standard value and recalculate the I2 +I2=Vref/R2 +R1=(Vo-Vref)/I2 +Vs=Vo+5//for satisfactory operation of series pass transistor +Iint=25*10^-3;//internal circuit current +Pi=Vs*Iint +disp("maximum power dissipated in series pass transistor") +Pd=Pdmax-Pi +disp("maximum load current is ") +Il=Pd/(Vs-Vo) -- cgit