summaryrefslogtreecommitdiff
path: root/1409/CH7/EX7.1/7_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1409/CH7/EX7.1/7_1.sce
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 '1409/CH7/EX7.1/7_1.sce')
-rw-r--r--1409/CH7/EX7.1/7_1.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1409/CH7/EX7.1/7_1.sce b/1409/CH7/EX7.1/7_1.sce
new file mode 100644
index 000000000..12e91c60c
--- /dev/null
+++ b/1409/CH7/EX7.1/7_1.sce
@@ -0,0 +1,25 @@
+clc;
+//page no 7-17
+//Example 7.1
+//Given
+fc=15;//in MHz
+fd=10;//in kHz
+fo=45;//in MHz
+//At point 1 in Fig 7.16
+fc1=4*fc;
+fd1=4*fd;
+fmax1=fc1+(fd1*10^(-3));
+fmin1=fc1-(fd1*10^(-3));
+disp(+'MHz',fc1,'Carrier frequency at point 1 is');
+disp(+'kHz',fd1,'frequency deviation at point 1 is');
+disp(+'MHz',fmax1,'fmax=');
+disp(+'MHz',fmin1,'fmin=');
+//At point 2, mixer gives difference frequency with fo=45MHz
+fc2=fc1-fo;
+fmax2=fmax1-fo;
+fmin2=fmin1-fo;
+fd2=(fc-fmin2)*10^3;
+disp(+'MHz',fc2,'Carrier frequency at point 2 is');
+disp(+'MHz',fmax2,'fmax=');
+disp(+'MHz',fmin2,'fmin=');
+disp(+'kHz',fd2,'Frequency deviation at point 2 is');