//Example 23_2 clc(); clear; //To find the focal length of the corrective lens d1=-50 //units in cm f=-(d1) //Units in cm printf("The focal length of the corrective lens is f=%d cm",f)