summaryrefslogtreecommitdiff
path: root/992/CH5/EX5.6/ex5_6.txt
blob: 37efe92e554bb5fba27a3c1503c246eb076d9aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Caption:Program to calculate percentage modulation.
//Exa:5.6
clc;
clear;
close;
//Given:
Fmx=88;//in MHz
Fmn=108;//in MHz
fd=15;//in kHz
m1=fd/75;
m2=fd/25;
printf("\n percentage modulation  = %f",m1*100);
printf("\n percentage modulation  = %f",m2*100);