1 2 3 4 5 6 7 8 9 10 11
clear //Given M=-20 R=-120 //Calculation f0=R/2.0 fe=f0/M //Result printf("\n Focal length of eyepiece is %0.3f cm", fe)