Homework for week 7

Sorry, can't get Q3 :-( And it's held me up for long enough.

Gerv