For an incident wave traveling from one medium (where the wave speed is c 1) to another medium (where the wave speed is c 2), one part of the wave will transmit into the second medium, while another part reflects back into the other direction and stays in the first medium. The amplitude of the transmitted wave and the reflected wave can be calculated by using the continuity condition at the boundary.