//Example 1_48 clc(); clear; //To calculate the refractive index of the liquid D8=1.42 //units in cm d8=1.25 //units in cm u=(D8)^2/(d8)^2 printf("The refractive index of the liquid is %.2f",u)