Homework for applied math in computer science.