//Example 1.11 clc(); clear; //To calculate refractive Index of liquid d10=1.40 d_10=1.27 u=(d10/d_10)^2 printf("The refractive index of liquid is %.3f",u)