Skip to content

Commit f124d7e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3510b85 commit f124d7e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

physics/photoelectric_effect.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@
1010
K_max = hν − Φ
1111
1212
where:
13-
h = Planck's constant
14-
ν = frequency of the incident radiation
15-
Φ = work function of the material
13+
h = Planck's constant
14+
ν = frequency of the incident radiation
15+
Φ = work function of the material
1616
1717
The work function Φ is the minimum energy required to remove an electron
1818
from the surface of the material.
1919
2020
Reference: https://en.wikipedia.org/wiki/Photoelectric_effect
2121
"""
2222

23-
2423
PLANCK_CONSTANT_JS = 6.6261 * pow(10, -34) # in SI (Js)
2524
PLANCK_CONSTANT_EVS = 4.1357 * pow(10, -15) # in eVs
2625

@@ -66,4 +65,3 @@ def maximum_kinetic_energy(
6665
import doctest
6766

6867
doctest.testmod()
69-

0 commit comments

Comments
 (0)