Since energy cannot be created nor destroyed, the change in energy of the electron must be equal to the energy of the emitted photon.
The energy of the emitted photon is given by:

where
h is the Planck constant
f is the photon frequency
Substituting

, we find

This is the energy given to the emitted photon; it means this is also equal to the energy lost by the electron in the transition, so the variation of energy of the electron will have a negative sign (because the electron is losing energy by decaying from an excited state, with higher energy, to the ground state, with lower energy)
Work done against gravity to climb upwards is always stored in the form of gravitational potential energy
so we can say

here h = vertical height raised
so here we know that

here we have

now from above equation


so work done will be given by above value
Currently, the magnetic south pole lies about ten degrees distant from the geographic north pole, and sits in the Arctic Ocean north of Alaska. The north end on a compass therefore currently points roughly towards Alaska and not exactly towards geographic north.
On Earth, 1 g = 9.8 m/s² .
5 g = 5 · (9.8 m/s²)
5 g = 49 m/s²
The gravitational force between two object depends on their masses and on their distance.
Since the formula is

If the masses grow, the force also grows. But I'm assuming the two objects are fixed, so you can't enlarge their mass.
So, the only option remaining is to lower their distance: since it sits at the denominator, a smaller value of d results in a bigger value for F.
So, if you reduce the distance between two objects, the gravitational force between them will always result in an increase