https://courses.physics.illinois.edu/phys486/sp2025/secure/discussions/discussion7.pdf