2.Consider a medium in which the refractive index n is inversely proportional to p,that is n = no/p,where p is the distance from the origin.Use Fermat's principle,that the integral
aS
n(x,y)Vdx2+dy2
is stationary,to find the path of a light ray travelling in a plane containing the origin.[Hint:Use two dimensional polar coordinates and write the path as =(p).The Fermat integral should have the form J f(,',p) dp,where f(,,p) is actually independent of .]