bending of a wave as it enters a new medium medium​