summaryrefslogtreecommitdiff
path: root/3507/CH19/EX19.6/Ex19_6.sce
blob: 81b60bd431dd60840bdca2bb3e49bf299894f87e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter19
//example19.6
//page420

fc=1000 // kHz
fs=5 // kHz
m=0.5
Ec=100 // V

lower_sideband=fc-fs
upper_sideband=fc+fs
amplitude=m*Ec/2

printf("lower and upper sideband frequencies = %.3f kHz and %.3f kHz \n",lower_sideband,upper_sideband)
printf("amplitude of each sideband term = %.3f V \n",amplitude)