1 2 3 4 5 6 7 8 9
//example 10.1(b)// clc //clears the screen// clear //clears all variables// g=2^8; pr=1/(g-1)*100; //percentage resolution// disp(pr,'Percentage resolution = ')