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