https://courses.physics.illinois.edu/phys486/sp2025/secure/homework/hw-04-solution.pdf