diff options
Diffstat (limited to '1223/CH15')
-rwxr-xr-x | 1223/CH15/EX15.10/Ex15_10.sce | 8 | ||||
-rwxr-xr-x | 1223/CH15/EX15.13/Ex15_13.sce | 12 | ||||
-rwxr-xr-x | 1223/CH15/EX15.14/Ex15_14.sce | 13 | ||||
-rwxr-xr-x | 1223/CH15/EX15.15/Ex15_15.sce | 15 | ||||
-rwxr-xr-x | 1223/CH15/EX15.16/Ex15_16.sce | 17 | ||||
-rwxr-xr-x | 1223/CH15/EX15.2/Ex15_2.sce | 7 | ||||
-rwxr-xr-x | 1223/CH15/EX15.3/Ex15_3.sce | 8 | ||||
-rwxr-xr-x | 1223/CH15/EX15.4/Ex15_4.sce | 11 | ||||
-rwxr-xr-x | 1223/CH15/EX15.6/Ex15_6.sce | 13 | ||||
-rwxr-xr-x | 1223/CH15/EX15.7/Ex15_7.sce | 14 |
10 files changed, 118 insertions, 0 deletions
diff --git a/1223/CH15/EX15.10/Ex15_10.sce b/1223/CH15/EX15.10/Ex15_10.sce new file mode 100755 index 000000000..b7b428546 --- /dev/null +++ b/1223/CH15/EX15.10/Ex15_10.sce @@ -0,0 +1,8 @@ +clear;
+clc;
+//Example 15.10
+C=15*10^-9;
+T=100*10^-6;//(s) time
+R=T/(1.1*C);
+R=R*0.001;//Kohm
+printf('\nResistance R=%.2f KOhm\n',R)
diff --git a/1223/CH15/EX15.13/Ex15_13.sce b/1223/CH15/EX15.13/Ex15_13.sce new file mode 100755 index 000000000..207a5f139 --- /dev/null +++ b/1223/CH15/EX15.13/Ex15_13.sce @@ -0,0 +1,12 @@ +clear;
+clc;
+//Example 15.13
+Rl=10;//load resistance
+Pl=20;//power delivered to the load
+Ps=20;//(W)
+Vp=sqrt(2*Rl*Pl);
+printf('\npeak output voltage=%.2f V\n',Vp)
+Ip=Vp/Rl;
+printf('\npeak load current =%.2fA\n',Ip)
+Vs=%pi*Rl*Ps/Vp;
+printf('\nrequired supply voltage=%.2f V\n',Vs)
diff --git a/1223/CH15/EX15.14/Ex15_14.sce b/1223/CH15/EX15.14/Ex15_14.sce new file mode 100755 index 000000000..8d31e99fa --- /dev/null +++ b/1223/CH15/EX15.14/Ex15_14.sce @@ -0,0 +1,13 @@ +clear;
+clc;
+//Example 15.14
+Vonl=5;
+Vofl=4.96;
+I1=0.005;
+I2=1.5;
+dVo=Vonl-Vofl;
+dIo=I1-I2;
+Rvf=-dVo/dIo;
+printf('\noutput resistance=%f Ohm\n',Rvf)
+LR=100*(Vonl-Vofl)/Vonl;
+printf('\nload regulation =%.2f\n',LR)
diff --git a/1223/CH15/EX15.15/Ex15_15.sce b/1223/CH15/EX15.15/Ex15_15.sce new file mode 100755 index 000000000..4a6ea02a8 --- /dev/null +++ b/1223/CH15/EX15.15/Ex15_15.sce @@ -0,0 +1,15 @@ +clear;
+clc;
+//Example 15.15
+Aol=1000;
+Vref=5;
+Vo=10;
+Io=0.1*0.001;
+Vt=0.026;
+Rof=2*Vt*Vo/(Io*Vref*Aol);
+printf('\noutput resistance=%.2f mOhm\n',Rof)
+//dVo/Vo=V and dIo/Io=I
+//V=-I*2*Vt/(Vref*Aol)
+//V/I=x
+x=-2*Vt/(Vref*Aol);
+printf('\npercent change=%.2e\n',x)
diff --git a/1223/CH15/EX15.16/Ex15_16.sce b/1223/CH15/EX15.16/Ex15_16.sce new file mode 100755 index 000000000..8a87694aa --- /dev/null +++ b/1223/CH15/EX15.16/Ex15_16.sce @@ -0,0 +1,17 @@ +clear;
+clc;
+//Example 15.16
+Vz=6.3;
+Vbe=0.6;
+Veb=0.6;
+Vo=8;
+R1=3.9;
+R2=3.4;
+R3=0.576;
+Ic3=(Vz-3*Vbe)/(R1+R2+R3);
+printf('\nbias current =%.3f mA\n',Ic3)
+Vb7=Ic3*R1+2*Vbe;
+printf('\ntemperature compensated reference voltage=%.2f V\n',Vb7)
+R13=2.23;
+R12=R13*Vo/Vb7-R13;
+printf('\nR12=%.2f KOhm\n',R12)
diff --git a/1223/CH15/EX15.2/Ex15_2.sce b/1223/CH15/EX15.2/Ex15_2.sce new file mode 100755 index 000000000..792c3da8f --- /dev/null +++ b/1223/CH15/EX15.2/Ex15_2.sce @@ -0,0 +1,7 @@ +clear;
+clc;
+//Example 15.2
+C=20*10^-6;
+Req=1000;
+fC=1/(C*Req);
+printf('\nclock frequency =%.2fKHz\n',fC)
diff --git a/1223/CH15/EX15.3/Ex15_3.sce b/1223/CH15/EX15.3/Ex15_3.sce new file mode 100755 index 000000000..43e3c2fe5 --- /dev/null +++ b/1223/CH15/EX15.3/Ex15_3.sce @@ -0,0 +1,8 @@ +clear;
+clc;
+//Example 15.3
+fC=10000;
+f3dB=1000;
+//x=C2/C1
+x=2*%pi*f3dB/fC;
+printf('\ncapacitances C2/C1=%.3f \n',x)
diff --git a/1223/CH15/EX15.4/Ex15_4.sce b/1223/CH15/EX15.4/Ex15_4.sce new file mode 100755 index 000000000..79e7e4dc8 --- /dev/null +++ b/1223/CH15/EX15.4/Ex15_4.sce @@ -0,0 +1,11 @@ +clear;
+clc;
+//Example 15.4
+C=0.1*10^-6;
+R=1000;
+fo=1/(2*%pi*R*C*sqrt(3));
+printf('\nthe oscillation frequency =%.2fHz\n',fo)
+//minimum amplifier gain=8
+R=1;//KOhm
+R2=8*R;
+printf('\nR2=%.f KOhm\n',R2)
diff --git a/1223/CH15/EX15.6/Ex15_6.sce b/1223/CH15/EX15.6/Ex15_6.sce new file mode 100755 index 000000000..831272d8c --- /dev/null +++ b/1223/CH15/EX15.6/Ex15_6.sce @@ -0,0 +1,13 @@ +clear;
+clc;
+//Example 15.6
+R1=10000;
+R2=90000;
+Vh=10;
+Vl=-10;
+Vth=R1*Vh/(R1+R2);
+printf('\nupper crossover voltage=%.f V\n',Vth)
+Vtl=R1*Vl/(R1+R2);
+printf('\nlower crossover voltage=%.f V\n',Vtl)
+x=Vth-Vtl;
+printf('\nhysteresis width =%.fV\n',x)
diff --git a/1223/CH15/EX15.7/Ex15_7.sce b/1223/CH15/EX15.7/Ex15_7.sce new file mode 100755 index 000000000..56fe1f3e2 --- /dev/null +++ b/1223/CH15/EX15.7/Ex15_7.sce @@ -0,0 +1,14 @@ +clear;
+clc;
+//Example 15.7
+Vs=2;
+Vh=15;
+Vl=-15;
+//hysteresis width=x
+x=60*0.001;//(V)
+//Vth-Vtl=(R1/(R1+R2))*(Vh-Vl)
+//R2/R=y
+y=(Vh-Vl)/x-1;
+printf('\nR2/R1=%.2f \n',y)
+Vref=(1+1/y)*Vs;
+printf('\nreference voltage=%.4f V\n',Vref)
|