//Example 12.9 clc; clear resol = 1/512 * 100 ; // calculating resol vol_resol = 1/512 *5 *1000; printf("Resoluition in percentage = %f",resol); printf("\n\n Voltage resolution = %f mV",vol_resol);