1 2 3 4 5 6 7 8 9 10 11 12 13 14
//Chapter 1 : Wave Optics clear; //Variable declaration D2=1.40 D1=1.20 //Calculation myu=(D2/D1)**2 //Result mprintf("Refractive index of liquid= %0.3f ",myu)