1D-wave at a boundary

[list][*]The simulation shows a wave traveling from one medium to another. The refractive index of the left medium is 1. The index of the right hand medium can be varied.[/*][*]The red line shows the resultant wave. Show components to show the incident and reflected components of the wave. [/*][/list]

Information: 1D-wave at a boundary