Skip to content

Commit 3510b85

Browse files
Improve documentation and clarity of photoelectric effect explanation
Clarified explanation and notation in the module docstring.
1 parent 2c15b8c commit 3510b85

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

physics/photoelectric_effect.py

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
"""
2-
The photoelectric effect is the emission of electrons when electromagnetic radiation ,
3-
such as light, hits a material. Electrons emitted in this manner are called
4-
photoelectrons.
2+
The photoelectric effect is the emission of electrons from a material when electromagnetic radiation (such as light) falls on it.
3+
Electrons emitted in this manner are called photoelectrons.
54
6-
In 1905, Einstein proposed a theory of the photoelectric effect using a concept that
7-
light consists of tiny packets of energy known as photons or light quanta. Each packet
8-
carries energy hv that is proportional to the frequency v of the corresponding
9-
electromagnetic wave. The proportionality constant h has become known as the
10-
Planck constant. In the range of kinetic energies of the electrons that are removed from
11-
their varying atomic bindings by the absorption of a photon of energy hv, the highest
12-
kinetic energy K_max is :
5+
In 1905, Albert Einstein explained the photoelectric effect by proposing that light consists of discrete packets of energy known as photons or light quanta.
6+
Each photon carries energy proportional to the frequency ν of the incident electromagnetic radiation. The proportionality constant h is known as Planck's constant.
137
14-
K_max = hv-W
8+
The maximum kinetic energy of the emitted electrons is given by:
159
16-
Here, W is the minimum energy required to remove an electron from the surface of the
17-
material. It is called the work function of the surface
10+
K_max = hν − Φ
1811
19-
Reference: https://en.wikipedia.org/wiki/Photoelectric_effect
12+
where:
13+
h = Planck's constant
14+
ν = frequency of the incident radiation
15+
Φ = work function of the material
16+
17+
The work function Φ is the minimum energy required to remove an electron
18+
from the surface of the material.
2019
20+
Reference: https://en.wikipedia.org/wiki/Photoelectric_effect
2121
"""
2222

23+
2324
PLANCK_CONSTANT_JS = 6.6261 * pow(10, -34) # in SI (Js)
2425
PLANCK_CONSTANT_EVS = 4.1357 * pow(10, -15) # in eVs
2526

@@ -65,3 +66,4 @@ def maximum_kinetic_energy(
6566
import doctest
6667

6768
doctest.testmod()
69+

0 commit comments

Comments
 (0)