https://courses.physics.illinois.edu/phys214/sp2014/practice/phys214spr2013midtermsolutions.pdf