Bending Of Waves Due To Change In Medium