summaryrefslogtreecommitdiff
path: root/1895/CH5/EX5.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1895/CH5/EX5.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1895/CH5/EX5.2')
-rwxr-xr-x1895/CH5/EX5.2/EXAMPLE5_2.SCE24
1 files changed, 24 insertions, 0 deletions
diff --git a/1895/CH5/EX5.2/EXAMPLE5_2.SCE b/1895/CH5/EX5.2/EXAMPLE5_2.SCE
new file mode 100755
index 000000000..6c507bc96
--- /dev/null
+++ b/1895/CH5/EX5.2/EXAMPLE5_2.SCE
@@ -0,0 +1,24 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 5
+//ANGLE MODULATION
+clear all;
+clc;
+printf("EXAMPLE 5.2(PAGENO 199)");
+
+//given
+f_c = 107.6*10^6//carrier frequency
+f_m = 7*10^3//modulationg frequency
+deltaf = 50*10^3//frequency deviation
+
+//calculations
+cs = 2*deltaf//carrier swing
+f_H = f_c + deltaf//highest frequency
+f_L = f_c - deltaf//lowest frequency
+m_f = deltaf/f_m//modulating index
+
+//results
+printf("\n\ni.Carrier frequency = %.2f Hz",cs);
+printf("\n\nii.a.Highest frequency attained by the modulating signal = %.2f Hz",f_H);
+printf("\n\n b.Lowest frequency attained by the modulating signal = %.2f Hz",f_L);
+printf("\n\niii.modulating index of the FM wave = %.3f",m_f);