blob: 3fd4e697a84024af657722ea21672f03cdbe32a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//chapter19
//example19.13
//page424
Vt=110 // V
Vc=100 // V
// since Pt/Pc=1+m^2/2 and P is proportional to V^2 we get (Vt/Vc)^2=1+m^2/2
// making m as subject we get
m=(2*((Vt/Vc)^2-1))^0.5
printf("modulation factor = %.3f or %.3f percent \n",m,m*100)
|