1 2 3 4 5 6 7 8 9 10
clear //Given f=18 //cm u=1.5 //Calculation R=(u-1)*f //Result printf("\n Radius of the curvature is %0.3f cm", R)