reflection of waves and phase change