I have a question and I'm not sure which equation to apply to it:
A fluid is at rest in a gravitational field of strength $\mathbf g = −g \underline k$, where $g$ is a positive constant, and both the unit vector $\underline k$ and the $z -axis$ point vertically upward. The fluid pressure, $p$ , and the fluid density, $\rho$ , are related by $∇p = \rho g$.
Show that in the fluid $$\frac {dp}{dz} = −\rho g$$.
Thanks