solution for hw 2 ee 503 2142943