Working principle of silencer