We know that, 1mol of any gas occupies 22.4L at standard temperature and pressure (STP), therefore density of air at STP is ρ0=VolumeofonemoleofairatSTPMassofonemoleofair =22.4×10−329.0×10−3=1.29kgm−3
Also, at STP, pressure of air is 1.01×105Nm−2.
So, according to Newton's formula for the speed of sound in medium, we get speed of sound in air at STP as v=ρ0p=[1.291.01×105]1/2=279.81ms−1 ≅280ms−1