I have trouble understanding some derivations about longitudal waves. I need to derive $\Delta p=B \frac{\partial s}{\partial x}$ from $\Delta p=B \frac{\Delta V}{V}$ knowing that $\Delta V=A\Delta s $ and $ V= A\Delta x$.
Where $B= \frac{\Delta p}{\Delta V/V }$, $\Delta p$ is pressure difference, $\Delta V$ volume difference, $\Delta s$ longitudial displacement caused by wave, $\Delta x$ is interval of of length of tube filled with liquid.
I don't understand why $\Delta V=A\Delta s $.
This derivation is needed to derive $\Delta p=Bks_m \sin(kx-wt)$ from $s=s_m cos(kx-wt)$.