The cell reaction in terms of cell notation is
`Mg|Mg^(2+)(0.130 M)||Ag^(+)(0.001 M)|Ag`
`E_(cell)=E_(cell)^(@)-(0.0591)/(n)"log"([Anode])/([Cathode])`
`=(3.17)-(0.0591)/(2)"log"(0.130)/(0.0001)^(2)=(3.17)-(0.0591)/(2)"log"(0.0591)/(2)"log"(0.130)/(10^(-8))`
`=(3.17)-0.02955" log "(1.3xx10^(7))=(3.17)-(0.02955xx7.1139)`
`=(3.17-0.21)=2.69 V`.