You will write three small functions for a photocell. Use eV nm.
The idea. A photon of wavelength in nm has the energy in eV. The largest kinetic energy is the photon energy minus the work function, and it cannot be below zero: when the photon has too little energy, no electron leaves. A beam of power sends photons each second.
Your tasks.
photon_energy, return the energy in eV of a photon of wavelength wavelength in nm.max_kinetic_energy, return in eV for a metal with work function phi in eV. If no electron can leave, return 0.photocurrent, return the current in A for a beam of power power in W, when a fraction efficiency of the photons each free one electron.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…