wl2wavenumber(600) # wavelength in nm -> wave number
wavenumber2wl(1666666.66) # wave number -> wavelength in nm
wl2frequency(600) # wavelength in nm -> wave frequency (Hz)
frequency2wl(499654096666667) # wave frequency (Hz) -> wavelength in nm
wl2energy(600) # wavelength in nm -> energy of one photon (J)
wl2energy(600, unit = "eV") # wavelength in nm -> energy of one photon (eV)
wl2energy(600,
unit.exponent = -3,
unit = "eV") # wavelength in nm -> energy of one photon (meV)
energy2wl(2066.40330,
unit.exponent = -3,
unit = "eV") # energy of one photon (meV) -> wavelength (nm)
Run the code above in your browser using DataLab