https://courses.physics.illinois.edu/phys505/fa2022/secure/Homework/HW_3.pdf