1 2 3 4 5 6 7 8 9 10 11
clear //Given ur=1.5155 uv=1.5245 //Calculation u=(ur+uv)/2.0 w=(uv-ur)/(u-1) //Result printf("\n Dispersive power of the crown glass is %0.4f ",w)