why pressure do not have effect on speed of sound?
Dear Student,
Pressure and density (it is proportional to the pressure) of a medium shows equal but opposite effect on the speed of sound. Therefore, they cancel out each other's effect and hence speed of sound is independent of pressure and density.