blob: b96e4d4f92b1f11d5e5b6f9404c002418628d536 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//chapter-6,Example6_10,pg 495
Res=(1/2^8)//resolution
T=8*10^-6//total time
n=256//no. of conversions
t=(T/n)//time req. by one conversion
S=(1/t)//speed of conversion
printf("speed of conversion \n")
printf("S=%.2f Hz\n",S)
|