enumpde: exercise sheet 6