homework 2.1
homework 2.2