How on earth do I solve? Any help will be much appreciated.
The value of $M$ is given by $M = a \log_{10}S + b$.
Note: Seismic moment measure the energy of the earthquake.
Using the following information, determine the values of $a$ and $b$ and hence find the seismic moment $(S)$ of an earthquake which has a magnetic moment $(M)$ of $7.9$.
Seismic Moment $(S) = 4.47 \times 10^{25}$, Magnetic Moment $(M) = 7$
Seismic Moment $(S) = 2 \times 10^{27}$, Magnetic Moment $(M) = 7.5$