The expression for energy of photon when switch S1 is closed is, E=hv0+(5+1)eV………………(I) The expression for energy of photon when switch S2 is closed and S1 is open is, 2E=hv0+(20−5)eV………………(II) On solving equation (I) and (II), we get hv0=3eVv0=h3eVv0=6.626×10−34J⋅s3×1.6×10−16Vv0=7.25×1014Hz The wavelength is calculated as, λ=v0cλ=7.25×1014Hz3×108m/sλ=4133.3