math335 hw6 and exam1 stuff