diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1754/CH5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1754/CH5')
-rwxr-xr-x | 1754/CH5/EX5.1/Exa5_1.sce | 10 | ||||
-rwxr-xr-x | 1754/CH5/EX5.10/Exa5_10.sce | 12 | ||||
-rwxr-xr-x | 1754/CH5/EX5.11/Exa5_11.sce | 18 | ||||
-rwxr-xr-x | 1754/CH5/EX5.12/Exa5_12.sce | 15 | ||||
-rwxr-xr-x | 1754/CH5/EX5.13/Exa5_13.sce | 20 | ||||
-rwxr-xr-x | 1754/CH5/EX5.2/Exa5_2.sce | 23 | ||||
-rwxr-xr-x | 1754/CH5/EX5.3/Exa5_3.sce | 23 | ||||
-rwxr-xr-x | 1754/CH5/EX5.4/Exa5_4.sce | 14 | ||||
-rwxr-xr-x | 1754/CH5/EX5.5/Exa5_5.sce | 10 | ||||
-rwxr-xr-x | 1754/CH5/EX5.6/Exa5_6.sce | 17 | ||||
-rwxr-xr-x | 1754/CH5/EX5.7/Exa5_7.sce | 19 | ||||
-rwxr-xr-x | 1754/CH5/EX5.8/Exa5_8.sce | 27 | ||||
-rwxr-xr-x | 1754/CH5/EX5.9/Exa5_9.sce | 18 |
13 files changed, 226 insertions, 0 deletions
diff --git a/1754/CH5/EX5.1/Exa5_1.sce b/1754/CH5/EX5.1/Exa5_1.sce new file mode 100755 index 000000000..4fcb5c64c --- /dev/null +++ b/1754/CH5/EX5.1/Exa5_1.sce @@ -0,0 +1,10 @@ +//Exa 5.1
+clc;
+clear;
+close;
+//Given data :
+A=50;//gain(unitless)
+Af=10;//gain(unitless)
+//Formula : Af=A/(1+A*Beta)
+Beta=(A/Af-1)/A;//feedback ratio (unitless)
+disp(Beta*100,"Percentage of output fed back(%) : ");
\ No newline at end of file diff --git a/1754/CH5/EX5.10/Exa5_10.sce b/1754/CH5/EX5.10/Exa5_10.sce new file mode 100755 index 000000000..df7a99f33 --- /dev/null +++ b/1754/CH5/EX5.10/Exa5_10.sce @@ -0,0 +1,12 @@ +//Exa 5.10
+clc;
+clear;
+close;
+//Given data :
+format('v',5);
+A=1000;//gain(unitless)
+Beta=1/20;//feedback ratio (unitless)
+//Formula : Af=A/(1+A*Beta)
+Af=A/(1+A*Beta);//gain with feedback(unitless)
+Af=20*log10(Af);//in dB
+disp(Af,"Gain with feedback in dB : ");
\ No newline at end of file diff --git a/1754/CH5/EX5.11/Exa5_11.sce b/1754/CH5/EX5.11/Exa5_11.sce new file mode 100755 index 000000000..872049c47 --- /dev/null +++ b/1754/CH5/EX5.11/Exa5_11.sce @@ -0,0 +1,18 @@ +//Exa 5.11
+clc;
+clear;
+close;
+//Given data :
+A=800;//gain(unitless)
+f1=40;//in Hz
+f2=16;//in kHz
+Beta=2/100;//feedback fator (unitless)
+//Formula : Af=A/(1+A*Beta)
+Af=A/(1+A*Beta);//gain with feedback(unitless)
+disp(Af,"Voltage gin with feedback : ");
+BW=f2*10^3-f1;//Bandwidth of amplifier in Hz
+disp(BW*10^-3,"Bandwidth of amplifier in kHz : ");
+f1_f=f1/(1+A*Beta);//in Hz
+f2_f=f2*(1+A*Beta);//in kHz
+BW_f=f2_f*10^3-f1_f;//Bandwith after feedback in Hz
+disp(round(BW_f*10^-3),"Bandwith after feedback in KHz : ");
\ No newline at end of file diff --git a/1754/CH5/EX5.12/Exa5_12.sce b/1754/CH5/EX5.12/Exa5_12.sce new file mode 100755 index 000000000..417dc1dff --- /dev/null +++ b/1754/CH5/EX5.12/Exa5_12.sce @@ -0,0 +1,15 @@ +//Exa 5.12
+clc;
+clear;
+close;
+//Given data :
+A=100;//gain(unitless)
+BW=10;//in Hz
+Beta=5;//in %
+//Part (i) :
+//Formula : Af=A/(1+A*Beta)
+Af=A/(1+A*Beta/100);//gain with feedback(unitless)
+disp(Af,"Voltage gin with feedback : ");
+//Part (ii)
+BW_f=BW*(1+A*Beta/100);//Bandwith after feedback in Hz
+disp(BW_f,"Bandwith with negative feedback in KHz : ");
\ No newline at end of file diff --git a/1754/CH5/EX5.13/Exa5_13.sce b/1754/CH5/EX5.13/Exa5_13.sce new file mode 100755 index 000000000..b3d76ad2a --- /dev/null +++ b/1754/CH5/EX5.13/Exa5_13.sce @@ -0,0 +1,20 @@ +//Exa 5.13
+clc;
+clear;
+close;
+//Given data :
+hfe=50;//unitless
+hie=1.1;//in kOhm
+hoe=0;//unitless
+hre=0;//unitless
+RL=4;//in kOhm
+Rs=10;//in kOhm
+RB=40;//in kOhm
+RLdash=RB*RL/(RB+RL);//in Kohm
+AV=-hfe*RLdash/hie;//unitless
+//Part (i) ;
+Rif=hie*(RB/(1-AV))/(hie+(RB/(1-AV)));//in kOhm
+disp(round(Rif*1000),"Input resistance with feedback in Ohm : ");
+//Part (ii) :
+AVf=AV*(Rif/(Rs+Rif));//unitless
+disp(AVf,"Voltage gin with feedback : ");
\ No newline at end of file diff --git a/1754/CH5/EX5.2/Exa5_2.sce b/1754/CH5/EX5.2/Exa5_2.sce new file mode 100755 index 000000000..a44c05a7f --- /dev/null +++ b/1754/CH5/EX5.2/Exa5_2.sce @@ -0,0 +1,23 @@ +//Exa 5.2
+clc;
+clear;
+close;
+//Given data :
+A=1000;//gainWithoutFeedback(unitless)
+//Part (i) :
+disp("At normal collector supply :");
+disp("with feedback gain reduces by a factor 0.40");
+Af=A-A*0.40;//gainWithFeedback(unitless)
+disp(Af,"At normal collector supply, Gain with feedback : ");
+//Formula : Af=A/(1+A*Beta)
+Beta=(A/Af-1)/A;//feedback factor (unitless)
+disp("At reduced power supply :");
+Adash=800;//gainWithoutFeedback(unitless)
+Af_dash=Adash/(1+Adash*Beta)
+disp(round(Af_dash),"At Reduced collector supply, Gain with feedback : ");
+//Part (ii)
+Reduction=((A-Adash)/A)*100;//% reduction without feedback
+disp(Reduction,"percentage reduction in gain without feedback(%) :");
+Reduction1=((Af-Af_dash)/Af)*100;//% reduction without feedback
+disp(round(Reduction1),"percentage reduction in gain with feedback(%) :");
+//Note : answer of Af is wrong in the book.
diff --git a/1754/CH5/EX5.3/Exa5_3.sce b/1754/CH5/EX5.3/Exa5_3.sce new file mode 100755 index 000000000..eae30e7bf --- /dev/null +++ b/1754/CH5/EX5.3/Exa5_3.sce @@ -0,0 +1,23 @@ +//Exa 5.3
+clc;
+clear;
+close;
+//Given data :
+A=100;//gain without feedback(unitless)
+Beta=1/25;//feedback ratio (unitless)
+Vi=50;//in mV
+//Part (i) :
+Af=A/(1+A*Beta);//gain with feedback(unitless)
+disp(Af,"(i) Gain with feedback :");
+//Part (ii) :
+FeedbackFactor=Beta*A;//unitless
+disp(FeedbackFactor,"(ii) Feedback Factor :");
+//Part (iii) :
+Vo_dash=Af*Vi*10^-3;//in volt
+disp(Vo_dash,"(iii) Output Voltage in volts :");
+//Part (iv) :
+FeedbackVoltage=Beta*Vo_dash;//in volt
+disp(FeedbackVoltage,"(iv) Feedback Voltage in volts :");
+//Part (v) :
+Vi_dash=Vi*(1+Beta*A);//in mv
+disp(Vi_dash,"(v) New Increased Input Voltage in milli volts :");
\ No newline at end of file diff --git a/1754/CH5/EX5.4/Exa5_4.sce b/1754/CH5/EX5.4/Exa5_4.sce new file mode 100755 index 000000000..1a1966b21 --- /dev/null +++ b/1754/CH5/EX5.4/Exa5_4.sce @@ -0,0 +1,14 @@ +//Exa 5.4
+clc;
+clear;
+close;
+//Given data :
+BW=200;//in kHz
+A=40;//gain without feedback(in dB)
+Beta=5;//negative feedback in %
+Beta=Beta/100;//feedback factor
+//Formula : Af=A/(1+A*Beta)
+Af=A/(1+A*Beta);//gain with feedback(in dB)
+disp("Since gain bandwidth product remains constant, A*BW=Af*BW_dash");
+BW_dash=A*BW/Af;//in kHz
+disp(BW_dash,"New Bandwidth in kHz : ");
\ No newline at end of file diff --git a/1754/CH5/EX5.5/Exa5_5.sce b/1754/CH5/EX5.5/Exa5_5.sce new file mode 100755 index 000000000..2fc55d962 --- /dev/null +++ b/1754/CH5/EX5.5/Exa5_5.sce @@ -0,0 +1,10 @@ +//Exa 5.5
+clc;
+clear;
+close;
+//Given data :
+A=140;//gain without feedback(unitless)
+Af=17.5;//gain with feedback(unitless)
+//Formula : Af=A/(1+A*Beta)
+Beta=(A/Af-1)/A;//feedback ratio (unitless)
+disp("Fraction of output fed back to input : "+string(Beta)+" or 1/20");
\ No newline at end of file diff --git a/1754/CH5/EX5.6/Exa5_6.sce b/1754/CH5/EX5.6/Exa5_6.sce new file mode 100755 index 000000000..b1d0a56c8 --- /dev/null +++ b/1754/CH5/EX5.6/Exa5_6.sce @@ -0,0 +1,17 @@ +//Exa 5.6
+clc;
+clear;
+close;
+//Given data :
+A=200;//gain without feedback(unitless)
+Beta=0.25;//fraction ratio(unitless)
+disp("We have, Af=A/(1+Beta*A) eqn(1)");
+disp("Differentiating it with respect to A, we get");
+disp("dAf/dA=((1+Beta*A)-Beta*A)/(1+Beta*A)^2=1/(1+Beta*A)^2");
+disp("dAf=dA/(1+Beta*A)^2 eqn(2)");
+disp("Dividing eqn(2) by eqn(1),");
+disp("dAf/Af=(dA/((1+Beta*A)^2))*((1+Beta*A)/A)=(1/(1+Beta*A))*(dA/A)");
+//Given : Normal gain changes by 10 %, it means dA/A=10/100
+dABYA=10/100;//change in gain
+dAfBYAf=(1/(1+Beta*A))*(dABYA);//change in gain
+disp(dAfBYAf,"Change in gain : ");
\ No newline at end of file diff --git a/1754/CH5/EX5.7/Exa5_7.sce b/1754/CH5/EX5.7/Exa5_7.sce new file mode 100755 index 000000000..7038aa61f --- /dev/null +++ b/1754/CH5/EX5.7/Exa5_7.sce @@ -0,0 +1,19 @@ +//Exa 5.7
+clc;
+clear;
+close;
+//Given data :
+A=200;//gain without feedback(unitless)
+Dn=10;//Distortion in %
+Vi=0.5;//Initial input voltage in volt
+Beta=0.05;//feedback ratio (unitless)
+//Formula : Af=A/(1+A*Beta)
+Af=A/(1+A*Beta);//gain with feedback(unitless)
+disp(Af,"New gain :");
+Dn_dash=Dn/(1+A*Beta);//new distortion in %
+disp(Dn_dash,"Distortion with negative feedback in % : ");
+InitialOutputVoltage=A*Vi;//in Volt
+disp(InitialOutputVoltage,"Initial Output Voltage in volt:");
+NewInputVoltage=InitialOutputVoltage/Af;//in volt
+disp(NewInputVoltage,"New Input Voltage in volts :");
+//Note :Ans of Af and NewInputVoltage is not acurate in the book.
\ No newline at end of file diff --git a/1754/CH5/EX5.8/Exa5_8.sce b/1754/CH5/EX5.8/Exa5_8.sce new file mode 100755 index 000000000..64807fd57 --- /dev/null +++ b/1754/CH5/EX5.8/Exa5_8.sce @@ -0,0 +1,27 @@ +//Exa 5.8
+clc;
+clear;
+close;
+//Given data :
+A=10000;//gain without feedback(unitless)
+Zi=10;//in kOhm
+Zo=100;//in Ohm
+R1=2;//in Ohm
+R2=18;//in Ohm
+//Part (i) :
+Beta=R1/(R1+R2);//feedback fraction(unitless)
+disp(Beta,"(i) Feedback Fraction :");
+//Part (ii) :
+Af=A/(1+A*Beta);//Gain with negative feedback(unitless)
+disp(round(Af),"(ii) Gain with negative feedback :");
+//Part (iii) :
+inputVoltge=0.5;//in mV
+outputVoltge=Af*inputVoltge;//in mV
+disp(round(outputVoltge),"(iii) Output Voltage in milli volts :");
+//Part (iv) :
+Zif=Zi*(1+Beta*A);//in kOhm
+disp(Zif*10^-3,"(iv) Input impedance of feedback amplifier in Mohm : ");
+//Part (v) :
+Zof=Zo/(1+Beta*A);//in kOhm
+format('v',4);
+disp(Zof,"(v) Output impedance with feedback in Ohm : ");
\ No newline at end of file diff --git a/1754/CH5/EX5.9/Exa5_9.sce b/1754/CH5/EX5.9/Exa5_9.sce new file mode 100755 index 000000000..859a3a7c0 --- /dev/null +++ b/1754/CH5/EX5.9/Exa5_9.sce @@ -0,0 +1,18 @@ +//Exa 5.9
+clc;
+clear;
+close;
+//Given data :
+A=200;//gain without feedback(unitless)
+Ri=2;//in kOhm
+Ro=12;//in kOhm
+Beta=0.02;//feedbak ratio(unitless)
+//Part (i) :
+Af=A/(1+A*Beta);//gain with feedback(unitless)
+disp(Af,"(i) Gain with Negative Feedback :");
+//Part (ii) :
+Rif=Ri*(1+A*Beta);//in kOhm
+disp(Rif,"(ii) Input resistance with feedback in kOhm :");
+//Part (ii) :
+Rof=Ro/(1+A*Beta);//in kOhm
+disp(Rof,"(ii) Output resistance with feedback in kOhm :");
\ No newline at end of file |