summaryrefslogtreecommitdiff
path: root/2409/CH9/EX9.2/Ex9_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2409/CH9/EX9.2/Ex9_2.sce')
-rwxr-xr-x2409/CH9/EX9.2/Ex9_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2409/CH9/EX9.2/Ex9_2.sce b/2409/CH9/EX9.2/Ex9_2.sce
new file mode 100755
index 000000000..c77a0840b
--- /dev/null
+++ b/2409/CH9/EX9.2/Ex9_2.sce
@@ -0,0 +1,13 @@
+//Variable Declaration
+
+delF=200 //Peak Deviation(kHz)
+f=0.8 //Test tone frequency (kHz)
+
+//Calculation
+m=delF/f //Modualtion index
+B=2*(delF+f) //Bandwidth of the signal(kHz)
+
+//Results
+printf("The modulation index is %.f" , m)
+printf("Bandwidth of the signal is %.1f kHz",B)
+