blob: 18d87afe444b01ad224b21b2eeaaa0ab8524adfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//chapter25
//example25.9
//page556
fh=1000 // Hz
// case (i) :- ratio of fv to fh = 1:1
fv1=1*fh
// case (ii) :- ratio = 2:1
fv2=2*fh
// case (iii) :- ratio = 6:1
fv3=6*fh
printf("for case1 i.e. fv/fh = 1/1, fv = %.3f Hz \n",fv1)
printf("for case2 i.e. fv/fh = 2/1, fv = %.3f Hz \n",fv2)
printf("for case3 i.e. fv/fh = 6/1, fv = %.3f Hz \n",fv3)
|