Consider a region of space divided by a plane. The potential energy of a particle in region 1 is U1 and in region 2 it is U2. If a particle of mass m and with speed v1 in region 1 passes from region 1 to region 2 such that its path in region 1 makes an angle θ1 with the normal to the plane of separation and an angle θ2 with the normal when in region 2, show that
sinθ2sinθ1=(1+T1U1−U2)1/2
where T1=21mv12. What is the optical analog of this problem?