diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1409/CH7/EX7.2/7_2.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.2/7_2.sce')
-rw-r--r-- | 1409/CH7/EX7.2/7_2.sce | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/1409/CH7/EX7.2/7_2.sce b/1409/CH7/EX7.2/7_2.sce new file mode 100644 index 000000000..293100dfc --- /dev/null +++ b/1409/CH7/EX7.2/7_2.sce @@ -0,0 +1,34 @@ +clc;
+//page no 7-18
+//Example 7.2
+//Given
+fc=13.5;//in MHz
+fd=8.5;//in kHz
+//At point 1
+disp("At point 1");
+fc1=2*fc;
+fd1=2*fd;
+disp(+'MHz',fc1,'Carrier frequency is');
+disp(+'kHz',fd1,'Frequency deviation is');
+//At point 2
+disp("At point 2");
+fc2=3*fc1;
+fd2=3*fd1;
+fmax2=(fc2+fd2*10^(-3));
+fmin2=(fc2-fd2*10^(-3));
+disp(+'MHz',fc2,'Carrier frequency is');
+disp(+'kHz',fd2,'Frequency deviation is');
+disp(+'MHz',fmax2,'fmax=');
+disp(+'MHz',fmin2,'fmin=');
+//At poiint 3
+disp("At point 3");
+//Oscillator frequency is 20MHz
+Of=20;//in MHz
+fc3=fc2+Of;
+fmax3=fmax2+Of;
+fmin3=fmin2+Of;
+fd3=(fmax3-fc3)*10^3;//in kHz
+disp(+'MHz',fc3,'Carrier frequency is');
+disp(+'MHz',fmax3,'fmax=');
+disp(+'MHz',fmin3,'fmin=');
+disp(+'kHz',fd3,'Frequency deviation is');
|