I just need to typeset stuff

\begin{equation} \label{eq:M} M = 1 + \text{tanh}\left[8\left(\frac{H_{rms}}{\gamma(h+\eta)} - 1\right)\right], \end{equation}