summaryrefslogtreecommitdiff
path: root/3542/CH9/EX9.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3542/CH9/EX9.1
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3542/CH9/EX9.1')
-rw-r--r--3542/CH9/EX9.1/9_1.jpgbin0 -> 111442 bytes
-rw-r--r--3542/CH9/EX9.1/Ex9_1.sce48
2 files changed, 48 insertions, 0 deletions
diff --git a/3542/CH9/EX9.1/9_1.jpg b/3542/CH9/EX9.1/9_1.jpg
new file mode 100644
index 000000000..f26361ce6
--- /dev/null
+++ b/3542/CH9/EX9.1/9_1.jpg
Binary files differ
diff --git a/3542/CH9/EX9.1/Ex9_1.sce b/3542/CH9/EX9.1/Ex9_1.sce
new file mode 100644
index 000000000..dd160e1ea
--- /dev/null
+++ b/3542/CH9/EX9.1/Ex9_1.sce
@@ -0,0 +1,48 @@
+// Example no 9.1
+// To find the intermodulation frequencies generated
+// Page no. 451
+
+clc;
+clear all;
+
+// Given data
+f1=1930; // First carrier frequency
+f2=1932; // second carrier frequency
+F1=1920; // Lower frequency of the band
+F2=1940; // Upper frequency of the band
+
+for n=0:3
+ x1=(2*n+1)*f1-2*n*f2
+ if x1 < = F2 then
+ printf('\n IF frequency %0.0f MHz lies inside the band',x1);
+ else
+ printf('\n IF frequency %0.0f MHz lies outside the band',x1);
+ end
+end
+
+for n=0:3
+ x2=(2*n+2)*f1-(2*n+1)*f2
+ if x2 < = F2 then
+ printf('\n IF frequency %0.0f MHz lies inside the band',x2);
+ else
+ printf('\n IF frequency %0.0f MHz lies outside the band',x2);
+ end
+end
+
+for n=0:3
+ x3=(2*n+1)*f2-2*n*f1
+ if x3 < = F2 then
+ printf('\n IF frequency %0.0f MHz lies inside the band',x3);
+ else
+ printf('\n IF frequency %0.0f MHz lies outside the band',x3);
+ end
+end
+
+for n=0:3
+ x4=(2*n+2)*f2-(2*n+1)*f1
+ if x4 < = F2 then
+ printf('\n IF frequency %0.0f MHz lies inside the band',x4);
+ else
+ printf('\n IF frequency %0.0f MHz lies outside the band',x4);
+ end
+end