Step 1: Understanding the Concept
The reaction \(\text{Mg}\rightarrow\text{Mg}^{2+}+2e^-\) is an oxidation, so its standard potential is the reverse of the reduction value: \(E^0_{\text{ox}}=+2.37\text{ V}\).
Step 2: Nernst Equation
\(E=E^0-\dfrac{0.0591}{n}\log[\text{Mg}^{2+}]\) with \(n=2\).