Source: https://ocw.mit.edu/courses/res-6-007-signals-and-systems-spring-2011/994d3c4e751e07376ccb0c42d2b5862c_MITRES_6_007S11_hw24.pdf