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