We can use Faraday’s law of electrolysis to calculate the atomic mass. The formula is:
\[
m = \frac{M \cdot Q}{F \cdot z}
\]
Where:
- \(m = 2.644 \, \text{g}\),
- \(Q = 8040 \, \text{C}\),
- \(F = 96500 \, \text{C mol}^{-1}\),
- \(z = 2\) (since M is divalent).
Rearranging the formula:
\[
M = \frac{m \cdot F \cdot z}{Q} = \frac{2.644 \times 96500 \times 2}{8040} = 63.47 \, \text{u}
\]
Thus, the atomic mass of M is 63.47 u.