Multiply a matrix by a scalar
\(Q\) is a matrix recording the number of group fitness classes a gym runs each week, by class type and time slot
In the matrix, the rows are Pilates, Spin (top to bottom) and the columns are Morning, Afternoon (left to right)
\[Q = \begin{bmatrix} 1 & 5 \\ 2 & 4 \end{bmatrix}\]
From next term, the gym will run three times as many classes of each type in every time slot