diff options
Diffstat (limited to '2528/CH1')
-rwxr-xr-x | 2528/CH1/EX1.1/Ex1_1.sce | 11 | ||||
-rwxr-xr-x | 2528/CH1/EX1.10/Ex1_10.sce | 11 | ||||
-rwxr-xr-x | 2528/CH1/EX1.11/Ex1_11.sce | 11 | ||||
-rwxr-xr-x | 2528/CH1/EX1.12/Ex1_12.sce | 11 | ||||
-rwxr-xr-x | 2528/CH1/EX1.13/Ex1_13.sce | 11 | ||||
-rwxr-xr-x | 2528/CH1/EX1.14/Ex1_14.sce | 15 | ||||
-rwxr-xr-x | 2528/CH1/EX1.15/Ex1_15.sce | 11 | ||||
-rwxr-xr-x | 2528/CH1/EX1.16/Ex1_16.sce | 10 | ||||
-rwxr-xr-x | 2528/CH1/EX1.17/Ex1_17.sce | 26 | ||||
-rwxr-xr-x | 2528/CH1/EX1.18/Ex1_18.sce | 25 | ||||
-rwxr-xr-x | 2528/CH1/EX1.19/Ex1_19.sce | 21 | ||||
-rwxr-xr-x | 2528/CH1/EX1.2/Ex1_2.sce | 9 | ||||
-rwxr-xr-x | 2528/CH1/EX1.3/Ex1_3.sce | 12 | ||||
-rwxr-xr-x | 2528/CH1/EX1.4/Ex1_4.sce | 12 | ||||
-rwxr-xr-x | 2528/CH1/EX1.5/Ex1_5.sce | 16 | ||||
-rwxr-xr-x | 2528/CH1/EX1.6/Ex1_6.sce | 13 | ||||
-rwxr-xr-x | 2528/CH1/EX1.7/Ex1_7.sce | 9 | ||||
-rwxr-xr-x | 2528/CH1/EX1.8/Ex1_8.sce | 15 | ||||
-rwxr-xr-x | 2528/CH1/EX1.9/Ex1_9.sce | 11 |
19 files changed, 260 insertions, 0 deletions
diff --git a/2528/CH1/EX1.1/Ex1_1.sce b/2528/CH1/EX1.1/Ex1_1.sce new file mode 100755 index 000000000..941c988b9 --- /dev/null +++ b/2528/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,11 @@ +//Chapter 1
+//Decibel Power gain
+//page 14
+//Example no 1-1
+//Given
+clc;
+clear;
+G=800;
+G1=10*log10(G);
+printf("\n The decibel power gain,G= %.2f dB\n",G1); // Result
+
diff --git a/2528/CH1/EX1.10/Ex1_10.sce b/2528/CH1/EX1.10/Ex1_10.sce new file mode 100755 index 000000000..be89058bd --- /dev/null +++ b/2528/CH1/EX1.10/Ex1_10.sce @@ -0,0 +1,11 @@ +// Chapter 1
+//Output power
+//page 18
+//Example no 1-10
+//Given
+clc;
+V=2; // in V
+Ref=1; // in V
+V1=20*log10(V/Ref);
+printf("\n The value in dBV is %.2f dBV\n",V1);// Result
+
diff --git a/2528/CH1/EX1.11/Ex1_11.sce b/2528/CH1/EX1.11/Ex1_11.sce new file mode 100755 index 000000000..ab38fa25e --- /dev/null +++ b/2528/CH1/EX1.11/Ex1_11.sce @@ -0,0 +1,11 @@ +// Chapter 1
+//Output signal
+//page 19
+//Example no 1-11
+//Given
+clc;
+clear;
+Vin=-42; // in dBV
+Av=35; //in dBV
+Vout=Vin+Av;
+printf("\n The output signal is %.0f dBV \n",Vout);// Result
diff --git a/2528/CH1/EX1.12/Ex1_12.sce b/2528/CH1/EX1.12/Ex1_12.sce new file mode 100755 index 000000000..c4a5f8766 --- /dev/null +++ b/2528/CH1/EX1.12/Ex1_12.sce @@ -0,0 +1,11 @@ +// Chapter 1
+// Gain of the amplifier
+//page 19
+//Example no 1-12
+//Given
+clc;
+Pin1=20; //in dBm
+Pin=-10; //in dBW
+Pout=25; //in dBW
+G=Pout-Pin;
+printf("\n The gain of amplifer is %.0f dB",G);// Result
diff --git a/2528/CH1/EX1.13/Ex1_13.sce b/2528/CH1/EX1.13/Ex1_13.sce new file mode 100755 index 000000000..fc7ce5821 --- /dev/null +++ b/2528/CH1/EX1.13/Ex1_13.sce @@ -0,0 +1,11 @@ +// Chapter 1
+//Gain lost
+//page 23
+//Example no 1-13
+//Given
+clc;
+clear;
+fc=40; //in Hz
+f=10; //in Hz
+Av=-10*log10(1+(fc^2)/(f^2));
+printf("\n Gain lost is %.1f dB",Av);// Result
diff --git a/2528/CH1/EX1.14/Ex1_14.sce b/2528/CH1/EX1.14/Ex1_14.sce new file mode 100755 index 000000000..8f89a7af7 --- /dev/null +++ b/2528/CH1/EX1.14/Ex1_14.sce @@ -0,0 +1,15 @@ +// Chapter 1
+//Phase response
+//page 14
+//Example no 1-14
+//Given
+clc;
+fc=120; // in Hz
+fc1=1200; // in Hz
+fc2=12; // in Hz
+w1=atan(fc/fc2);
+printf("\n W1 = %.1f degrees one decade below fc\n ",w1*180/%pi);// Result
+w2=atan(fc/fc1);
+printf("\n W2 = %.2f degrees one decade below fc\n",w2*180/%pi);// Result
+
+
diff --git a/2528/CH1/EX1.15/Ex1_15.sce b/2528/CH1/EX1.15/Ex1_15.sce new file mode 100755 index 000000000..6626c5e09 --- /dev/null +++ b/2528/CH1/EX1.15/Ex1_15.sce @@ -0,0 +1,11 @@ +// Chapter 1
+//page 15
+//Example no 1-15
+//Given
+clc;
+f=1.6*10^6; //in Hz
+fc=150*10^3; //in Hz
+Av=-10*log10(1+(f^2)/(fc^2));
+printf("\n The Gain is %.1f dB \n ",Av);// Result
+w=-(%pi/2)+atan(fc/f);
+printf("\n Phase value is %.1f degree",w*180/%pi);// Result
diff --git a/2528/CH1/EX1.16/Ex1_16.sce b/2528/CH1/EX1.16/Ex1_16.sce new file mode 100755 index 000000000..971ab1e5e --- /dev/null +++ b/2528/CH1/EX1.16/Ex1_16.sce @@ -0,0 +1,10 @@ +// Chapter 1
+//Rise time
+//page 29
+//Example no 1-16
+//Given
+clc;
+//f2=0.35/Tr;
+f2=100*10^3; //in kHz
+Tr=0.35/f2;
+printf("\n The rise time for 90 degree lag network is %.7f sec",Tr);// Result
diff --git a/2528/CH1/EX1.17/Ex1_17.sce b/2528/CH1/EX1.17/Ex1_17.sce new file mode 100755 index 000000000..f6faa3412 --- /dev/null +++ b/2528/CH1/EX1.17/Ex1_17.sce @@ -0,0 +1,26 @@ +//Chapter 1
+//page 30
+//Example no 1-17
+//figure 1.15
+//Given
+clc;
+clear;
+Avmidband=26;
+f=(100:.5:40000+.5);
+
+Av=[Avmidband*ones(200+.5:.5:10000-.5)];
+for i=0:6/200:6
+Av=[Avmidband-i Av]
+end
+for i=0:12/40000:12
+Av=[Av Avmidband-i]
+end
+for i=0:6/20000:6
+Av=[Av Avmidband-12-i]
+end
+x=ones(Av)
+clf
+gainplot(f,x)
+plot(f,Av)
+title('Gainplot for complete amplifier')
+
diff --git a/2528/CH1/EX1.18/Ex1_18.sce b/2528/CH1/EX1.18/Ex1_18.sce new file mode 100755 index 000000000..3ffa9250d --- /dev/null +++ b/2528/CH1/EX1.18/Ex1_18.sce @@ -0,0 +1,25 @@ +// Chapter 1
+//page 34
+//Example no 1-18
+//figure 1.19
+//tail current
+//Given
+clc;
+Vcc=20; //in Volt
+Rc=3000; //in Ohm
+Rb=5000; //in ohm
+Rt=2000; //in Ohm
+Vee=10; //in Volt
+It=(Vee-0.7)/Rt;
+printf("\n It =%.5f Amp\n ",It);// Result
+//Ie1=Ie2=It/2
+Ic=It/2;
+Vc=Vcc-Ic*Rc;
+printf("\n Collector voltage is %.3f V\n ",Vc);// Result
+B=100; //Assumumption
+Ib=Ic/B;
+printf("\n Ib %.8f Amp\n ",Ib);// Result
+Vb=-Ib*Rb;
+printf("\n Base Voltage %.5f V\n ",Vb);// Result
+
+
diff --git a/2528/CH1/EX1.19/Ex1_19.sce b/2528/CH1/EX1.19/Ex1_19.sce new file mode 100755 index 000000000..7ebef3cdd --- /dev/null +++ b/2528/CH1/EX1.19/Ex1_19.sce @@ -0,0 +1,21 @@ +//Chapter 1
+//page 40
+//Example no 1-19
+//Determine single ended output
+//figure 1.20
+//Given
+clc;
+Vcc=15; //in Volt
+Rc=8000; //in Ohm
+re=30; //in ohm
+Rt=10000; //in Ohm
+Vee=8; //in Volt
+It=(Vee-0.7)/Rt;
+printf("\n It =%.5f Amp \n",It);// Result
+Ie=It/2;
+re1=(26*10^-3)/Ie;
+printf("\n re1 =%.1f \n",re1);// Result
+//for single ended output gain
+Av=Rc/(2*(re1+re));
+printf("\n Single output gain is %.1f \n",Av);// Result
+printf("\n The diferential output gain is twice Av i.e. %.0f ",2*Av);// Result
diff --git a/2528/CH1/EX1.2/Ex1_2.sce b/2528/CH1/EX1.2/Ex1_2.sce new file mode 100755 index 000000000..d153b5ef1 --- /dev/null +++ b/2528/CH1/EX1.2/Ex1_2.sce @@ -0,0 +1,9 @@ +// Chapter 1
+//Loss expressed
+//page 14
+//Example no 1-2
+//Given
+clc;
+G=1/10000;
+G1=10*log10(G);
+printf("\n The decibel power gain = %.0f dB\n",G1); // Result
diff --git a/2528/CH1/EX1.3/Ex1_3.sce b/2528/CH1/EX1.3/Ex1_3.sce new file mode 100755 index 000000000..ae4bc79e5 --- /dev/null +++ b/2528/CH1/EX1.3/Ex1_3.sce @@ -0,0 +1,12 @@ +// Chapter 1
+//Ordinary power gain
+//page 15
+//Example no 1-3
+//Given
+clc;
+G1=23; //in dB
+G=10^(G1/10);
+printf("\n The ordinary power gain is %.4f \n",G); // Result
+Pin=10^-3; //in mW
+Pout=Pin*G;
+printf("\n The output power is %.4f mW \n",Pout); // Result
diff --git a/2528/CH1/EX1.4/Ex1_4.sce b/2528/CH1/EX1.4/Ex1_4.sce new file mode 100755 index 000000000..74963bdba --- /dev/null +++ b/2528/CH1/EX1.4/Ex1_4.sce @@ -0,0 +1,12 @@ +// Chapter 1
+// Total gain
+//page 15
+//Example no 1-4
+//Given
+clc;
+G1=10; //in dB
+G2=16; //in dB
+G3=14; //in dB
+Gt=G1+G2+G3; //total gain
+printf("\n The ordinary power gain %.0f \n",Gt); // Result
+
diff --git a/2528/CH1/EX1.5/Ex1_5.sce b/2528/CH1/EX1.5/Ex1_5.sce new file mode 100755 index 000000000..b4b01f570 --- /dev/null +++ b/2528/CH1/EX1.5/Ex1_5.sce @@ -0,0 +1,16 @@ +// Chapter 1
+//Ordinary Gain
+//page 16
+//Example no 1-5
+//Given
+clc;
+Ao=2; //in Volt
+Ai=50; // in milliVolt
+Ai1=0.05; //input in Volt
+Av=Ao/Ai1;
+printf("\n The ordinary power gain %.0f \n ",Av); // Result
+Av1=20*log10(Av);
+printf("\n The power gain is %.2f dB\n",Av1);// Result
+
+
+
diff --git a/2528/CH1/EX1.6/Ex1_6.sce b/2528/CH1/EX1.6/Ex1_6.sce new file mode 100755 index 000000000..0c115a49e --- /dev/null +++ b/2528/CH1/EX1.6/Ex1_6.sce @@ -0,0 +1,13 @@ +// Chapter 1
+//Amplifier Gain
+//page 17
+//Example no 1-6
+//Given
+clc;
+G1=26; //in dB
+Vin=0.01; //in volt
+G=10^(G1/20);
+printf("\n The ordinary power gain %.2f \n",G); // Result
+Vout=Vin*G;
+printf("\n The output voltage is %.4f V\n",Vout); // Result
+
diff --git a/2528/CH1/EX1.7/Ex1_7.sce b/2528/CH1/EX1.7/Ex1_7.sce new file mode 100755 index 000000000..11246f2c5 --- /dev/null +++ b/2528/CH1/EX1.7/Ex1_7.sce @@ -0,0 +1,9 @@ +// Chapter 1
+//Power vin dBW
+//page 17
+//Example no 1-7
+//Given
+clc;
+P=120; //in Watt
+P1=10*log10(P);
+printf("\n The ordinary power gain %.1f dBW \n",P1); //Result
diff --git a/2528/CH1/EX1.8/Ex1_8.sce b/2528/CH1/EX1.8/Ex1_8.sce new file mode 100755 index 000000000..a6927bdcd --- /dev/null +++ b/2528/CH1/EX1.8/Ex1_8.sce @@ -0,0 +1,15 @@ +// Chapter 1
+//Output power in dBW
+//page 18
+//Example no 1-8
+//Given
+clc;
+clear;
+P=0.200; //in Watt
+P1=10*log10(P/1);
+printf("\n The ordinary power gain %.0f dBW \n",P1);// Result
+P=200; //in mW
+P1=10*log10(P/1);
+printf("\n The ordinary power gain %.0f dBm \n",P1);// Result
+
+
diff --git a/2528/CH1/EX1.9/Ex1_9.sce b/2528/CH1/EX1.9/Ex1_9.sce new file mode 100755 index 000000000..ba819e0a3 --- /dev/null +++ b/2528/CH1/EX1.9/Ex1_9.sce @@ -0,0 +1,11 @@ +// Chapter 1
+//Output power in Watt
+//page 18
+//Example no 1-9
+//Given
+clc;
+P1=12; // in dBw
+Ref=1; // in mW
+P=10^(P1*Ref/10);
+printf("\n The ordinary power gain %.1f mW \n",P); // Result
+
|