summaryrefslogtreecommitdiff
path: root/1514/CH12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1514/CH12
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1514/CH12')
-rwxr-xr-x1514/CH12/EX12.1/12_1.sce19
-rwxr-xr-x1514/CH12/EX12.2/12_2.sce49
-rwxr-xr-x1514/CH12/EX12.3/12_3.sce59
3 files changed, 127 insertions, 0 deletions
diff --git a/1514/CH12/EX12.1/12_1.sce b/1514/CH12/EX12.1/12_1.sce
new file mode 100755
index 000000000..0f29e8f46
--- /dev/null
+++ b/1514/CH12/EX12.1/12_1.sce
@@ -0,0 +1,19 @@
+//chapter 12
+//example 12.1
+//page 364
+clear all;
+clc ;
+//given
+Av=75;//voltage gain
+R10=12;//coupling resistor in kohm
+R7=R10;
+R9=1000*R10/Av;
+printf("\nFeedback component R9 is %d ohm,select 150ohm standard value to make Av \nslightly greater than specified.",R9);
+R9=150;
+f1=100;
+XC6=1000*R10/100;
+C6=10^6/(2*%pi *f1*XC6);
+printf("\ncapacitor C6 is %.1f microF,use 15 microF standard value",C6);
+XC2=R9;
+C2=10^6/(2*%pi *f1*XC2);
+printf("\ncapacitor C2 is %.1f microF,use 15 microF standard value",C2);
diff --git a/1514/CH12/EX12.2/12_2.sce b/1514/CH12/EX12.2/12_2.sce
new file mode 100755
index 000000000..1e868dddd
--- /dev/null
+++ b/1514/CH12/EX12.2/12_2.sce
@@ -0,0 +1,49 @@
+//chapter 12
+//example 12.2
+//page 364
+clear all;
+clc ;
+//given values in ohm
+Zi2=967;
+hfe1=100;
+R3=12000;
+hie1=1000;
+R9=150;
+hfe2=100;
+hie2=1000;
+R7=R3;
+RL=120*10^3;
+R10=R7;
+R1=RL;
+R2=39*10^3;
+//voltage gain of stage 1
+A1=-hfe1*(R3*Zi2/(R3+Zi2))/(hie1+R9*(1+hfe1));
+printf("\nvoltage gain of stage 1=%.1f",A1);
+//voltage gain of stage 2
+Rp=(1/R7)+(1/RL)+(1/R10);
+A2=-hfe2*(1/Rp)/hie2;
+printf("\nvoltage gain of stage 2=%d",A2);
+//open loop gain
+A1=-5.5;A2=-571;
+M = (A1)*(A2) ;
+printf("\nopen loop gain =%d",M);
+//feedback factor
+B=R9 /(R9 + R10);
+b=B^-1;
+printf("\nfeedback factor(beta)=1/%d",b)
+Av1=1/B;//for M*beta >>1
+Av2=M/(1+M*B);//closed loop gain
+printf("\nclosed loop gain=%d or %d if M*beta >>1",ceil(Av2),Av1);
+Zb=hie1;
+Zin=(1+M*B)*Zb;
+//input impedance
+Zi=1/((1/Zin)+(1/R1)+(1/R2))*10^-3;
+printf("\ninput impedance=%d kohm",ceil(Zi));
+//output impedance
+Zout=(R7*R10/(R7+R10))/(1+M*B);
+printf("\noutput impedance =%d ohm",ceil(Zout));
+XC1=Zi/10;
+f1=100;//Hz
+C1=10^3/(2*%pi *f1*XC1);
+printf("\ncapacitor C1=%.2f microF,use standard value 1 microF",C1)
+
diff --git a/1514/CH12/EX12.3/12_3.sce b/1514/CH12/EX12.3/12_3.sce
new file mode 100755
index 000000000..9ae922c00
--- /dev/null
+++ b/1514/CH12/EX12.3/12_3.sce
@@ -0,0 +1,59 @@
+//chapter 12
+//example 12.3
+//page 371
+clear all;
+clc ;
+//given
+Vcc=20;//supply voltage
+Rl=500;//load resistance
+Av=75;//closed loop voltage gain
+f1=30;// i/p signal frquency Hz
+hfe=80;
+hie=1.4;
+Ve=5;Vce=3;
+VR2=5.7;
+Vbe=5;
+VR3=Vcc-Vce-Ve;
+R3=Rl/10;
+Ic=VR3/R3*10^3;
+printf("\ncollector current = %d microA,\ntoo small for operations of transistor,\nSo Ic=1 mA",Ic)
+Ic=1;
+R3=VR3/Ic;
+printf('\nR3=%d kohm which is standard value',R3)
+R45=(Ve/Ic);
+R4=1000*((R3*Rl)/(R3+Rl))/Av;
+printf("\nR4=%d ohm ,use standard value 150 ohm",R4);R4=150;
+R5=R45-R4/1000;
+printf("\nR5=%.2f kohm ,use standard value 5.6 kohm",R5);
+R5=5.6;//kohm
+//potential divider current and resistors
+I2=Ic/10;
+Ve=0.7;
+R2=(Vbe+Ve)/I2;
+printf("\nR2=%d kohm,use standard value 56 kohm",R2);R2=56;
+R1=(Vcc-VR2)/I2;
+printf("\nR1=%d kohm,use standard value 150 kohm",R1);R1=150;
+Zb=hie+(1+hfe)*R4/1000;
+//input impedance
+Zi=1/((1/Zb)+(1/R1)+(1/R2));
+printf("\ninput impedance=%.2f kohm",(Zi));
+//capacitance
+XC1=Zi/10;
+XC1=1;
+C1=10^3/(2*%pi *f1*XC1);
+printf("\ncapacitor C1=%.1f microF,use standard value 5.6 microF",(C1))
+XC2=R4;
+C2=10^6/(2 * %pi *f1* XC2);
+printf("\ncapacitor C2=%.1f microF,use standard value 39 microF",C2)
+C3=10^3/(2*%pi *f1*Rl/10);
+printf("\ncapacitor C3=%.3f microF,use standard value 0.1 microF",C3)
+
+
+
+
+
+
+
+
+
+