https://courses.physics.illinois.edu/phys486/sp2025/secure/homework/hw7_sol.pdf