https://courses.physics.illinois.edu/phys404/sp2025/secure/HW_pdf/PHYS404_HW4_Solution.pdf