This simulation estimates the magnitude of an earthquake based on the energy released during the event. Seismologists use a logarithmic scale to describe earthquake magnitude, reflecting the exponential relationship between energy and magnitude.
The earthquake magnitude \(M\) is calculated using the formula:
$$\displaystyle M = \frac{2}{3}\,\log_{10}\!\left(\frac{E}{E_0}\right)$$
where:
This formula indicates that an increase of one magnitude unit corresponds to roughly a 32-fold increase in energy.