Finding partial derivatives for an ideal gas and van der Waals gas
Use the equation of state, express $P$ as a function of $T$ and $V$, and find the derivative with respect to $V$, assuming $T$ to be constant.