clear // // // //Variable declaration D8=1.42 //diameter of 8th ring(cm) D8dash=1.25 //changed diameter of 8th ring(cm) //Calculation mew=D8**2/D8dash**2 //refractive index of liquid //Result printf("\n refractive index of liquid is %0.2f ",mew)