summaryrefslogtreecommitdiff
path: root/1409/CH5/EX5.4/5_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1409/CH5/EX5.4/5_4.sce')
-rw-r--r--1409/CH5/EX5.4/5_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1409/CH5/EX5.4/5_4.sce b/1409/CH5/EX5.4/5_4.sce
new file mode 100644
index 000000000..73d14f3b7
--- /dev/null
+++ b/1409/CH5/EX5.4/5_4.sce
@@ -0,0 +1,12 @@
+clc;
+//page no 5-11
+//Example 5.4
+//Given amplitude of the wave as 5V and frequency as 1kHz
+amp=5;
+fs=50;//frequency sensitivity
+fd=amp*fs;//frequency deviation
+disp(+'Hz',fd,'Frequency Deviation=');
+fm=1*10^3;//in Hz
+mod=fd/fm;
+disp(mod,'Modulation index=');
+