//Example 1_51 clc(); clear; //To find the refraactive index of the liquid D12air=1.45 //units in cm D12liq=1.25 //units in cm u=(D12air)^2/(D12liq)^2 printf("Refractive index of the liquid is %.4f",u)