Wave in a medium

Instructions: Adjust the sliders to change the index of refraction on the right, and the frequency of the incoming wave
Explanation: Since the wave must be continuous across the boundary, the frequency of oscillations must be constant.

Link to stand-alone sim: Here is a link to view the sim on its own, with no distractions.

Stand alone sim

Embed code: Use this sim on a webpage. Copy the code block below, and include it anywhere on a webpage to show the sim.