Paragraph
Here
\(n = 40\)
and the sample mean is
\begin{equation*} \bar{x} = \frac{3\times 0 + 7\times 1 + 12\times 2 + 11\times 3 + 3\times 4 + 2\times 5 + 2\times 6} {40} \\ = 2.45. \end{equation*}
in-context