Word Problems or Cost Analysis