a couple of interesting homework problems