Firstly, how is "density" of wave formulated as?
Secondly, when wave, travelling in less density medium, meets with the boundary that has higher density medium next to, reflected parts of the wave changes phase by 180 degrees. If then, how does the amplitude change?