1 2 3 4 5
clc; M=5; //Magnifying power fo=10; //focal length of eye lens fe=fo/M; //calculating fe disp(fe,"Focal length of eye lens in cm = "); //displaying result