\documentclass[12pt]{article}
\begin{document}
$$
p = B [(\frac{\rho}{\rho_0})^{\gamma} - 1]
\end{document}