mth621 Assignment No.2 solution