1 2 3 4 5 6 7 8 9 10
clear //Given fe=3 M=4 //Calculation f0=fe*M //Result printf("\n Focal length of the lenses is %0.3f cm and %0.3f cm",f0,fe)