An electron in a hydrogen atom undergoes a transition from an orbit with quantum number ni to another with quantum number nf. Vi and Vf are respectively the initial and final potential