Now computing the derivative with respect to time in Equation 21, the change in pressure is related to the change in density
Using Equation 4 to conserve mass and Equations 17 and 23,
Taking the time derivative of Equation 18,
Finally, the acoustic wave equation is
where is the sound speed of the medium.