Math 400 programs for homework