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 /992/CH6/EX6.1 | |
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 '992/CH6/EX6.1')
-rwxr-xr-x | 992/CH6/EX6.1/ex6_1.sce | 18 | ||||
-rwxr-xr-x | 992/CH6/EX6.1/ex6_1.txt | 18 | ||||
-rwxr-xr-x | 992/CH6/EX6.1/ex6_1ans.txt | 11 |
3 files changed, 47 insertions, 0 deletions
diff --git a/992/CH6/EX6.1/ex6_1.sce b/992/CH6/EX6.1/ex6_1.sce new file mode 100755 index 000000000..ef72aad2b --- /dev/null +++ b/992/CH6/EX6.1/ex6_1.sce @@ -0,0 +1,18 @@ +
+//Exa:6.1
+clc;
+clear;
+close;
+//Given:
+f1=1000;//in KHz
+f2=25;//in MHz
+IF=455//in KHz
+Q=100;
+fs1=f1+2*IF;
+p1=fs1/f1 - f1/fs1;
+a1=sqrt(1+ Q^2*p1^2);
+printf("\n\n\t (a)image frequency is %f KHz \n rejection ratio is %f dB",fs1,20*log10(a1));
+fs2=f2+2*IF/1000;
+p2=fs2/f2 - f2/fs2;
+a2=sqrt(1+ Q^2*p2^2);
+printf("\n\n\t (b)image frequency is %f KHz \n rejection ratio is %f dB",fs2,20*log(a2));
\ No newline at end of file diff --git a/992/CH6/EX6.1/ex6_1.txt b/992/CH6/EX6.1/ex6_1.txt new file mode 100755 index 000000000..ccf538045 --- /dev/null +++ b/992/CH6/EX6.1/ex6_1.txt @@ -0,0 +1,18 @@ +//Caption:Program to calculate image frequency,rejection ratio
+//Exa:6.1
+clc;
+clear;
+close;
+//Given:
+f1=1000;//in KHz
+f2=25;//in MHz
+IF=455//in KHz
+Q=100;
+fs1=f1+2*IF;
+p1=fs1/f1 - f1/fs1;
+a1=sqrt(1+ Q^2*p1^2);
+printf("\n\n\t (a)image frequency is %f KHz \n rejection ratio is %f dB",fs1,20*log10(a1));
+fs2=f2+2*IF/1000;
+p2=fs2/f2 - f2/fs2;
+a2=sqrt(1+ Q^2*p2^2);
+printf("\n\n\t (b)image frequency is %f KHz \n rejection ratio is %f dB",fs2,20*log(a2));
\ No newline at end of file diff --git a/992/CH6/EX6.1/ex6_1ans.txt b/992/CH6/EX6.1/ex6_1ans.txt new file mode 100755 index 000000000..614d5de2f --- /dev/null +++ b/992/CH6/EX6.1/ex6_1ans.txt @@ -0,0 +1,11 @@ + IF =
+
+ 455.
+
+
+ (a)image frequency is 1910.000000 KHz
+ rejection ratio is 42.838246 dB
+
+ (b)image frequency is 25.910000 KHz
+ rejection ratio is 39.541885 dB
+ Execution done.
\ No newline at end of file |