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)