Paragraph

The values can all be provided with varying weights if desired and the result is called the weighted arithmetic mean and is given by
\begin{equation*} \frac{m_1 x_1 + ... + m_n x_n}{m_1 + ... + m_n} = \frac{\sum_{k=1}^n m_k x_k}{\sum_{k=1}^n m_k}. \end{equation*}
This is often how your teacher will actually compute your final grade in a class where the \(m_k\) are the relative weights for each assignment grade.
in-context