//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)