From the nernst potential given, the mg2+ ion is at a higher concentration outside the cell.
The potential across the cell membrane that exactly opposes net diffusion of a particular ion through the membrane.
The nernst potential of an ion is calculated as follows;
[tex]E = \frac{RT}{zF} ln[\frac{ion \ outside \ cell}{ion \ inside \ cell} ][/tex]
The given nernst potential of mg2+ ion is +30 mv = +0.03 V, (positive volt).
A positive log can only be obtained when the numerator (ion outside cell) is greater than the denominator (ion inside cell).
Thus, from the information given, the mg2+ ion is at a higher concentration outside the cell.
Learn more about nernst potential here: https://brainly.com/question/15394851
#SPJ1