https://courses.grainger.illinois.edu/ece556/sp2020/hw1-F2020.pdf