Calculation of energy required
The energy required is the difference in the energy when the electron jumps from orbit with n = ∞ to orbit with n = 2.
The energy required (∆E) = E∞ - E2
Calculation of the longest wavelength of light in cm used to cause the transition
∆E = hv = hc / λ.