summaryrefslogtreecommitdiff
path: root/1994/CH2/EX2.2/Example2_2.sce
blob: 4b417cba0d8a421d4381b63c054c8a4b2f2804c5 (plain)
1
2
3
4
5
6
7
8
9
//Chapter-2,Example2_2,pg 2_11
n=8
Res1=2^n
Vofs=2.55//full scale output voltage
Res2=Vofs/(Res1-1)
printf("resolution through method-1\n")
printf("Res1=%.2f \n",Res1)
printf("resolution through method-2\n")
printf("Res2=%.2f \n",Res2)