Problem:

You want to fertilize the grass on your back lawn. The temperature today is 55 degrees and cloudy. You measure the lawn with the only tool you have handy, a tape measure marked in feet. You measure with it and record that your lawn is 33 feet long by 23 feet wide. You are going to buy fertilizer and need to know how many bags will be enough to cover the lawn. The fertilizer bag says it covers 30 square yards. A bag costs $15. You have to drive 15 miles to get to the garden center. Find out how many bags you need.

What is extraneous to the solution of the problem? What is necessary to solving the problem?


#Name, section, email
#Purpose: to calculate the minimum number of bags of fertilizer that must be bought to cover the lawn
#Preconditions: the length and width of the lawn, the square yards covered by a bag
#Postconditions: the number of bags (rounded up) to cover the lawn

# Design:
# 1. Take the measurements of the lawn
# 2. Get the coverage of a bag
# 3. Multiply the length by the width to get square feet
# 4. Divide by 9 to get square yards from square feet
# 5. Divide the square yards by coverage per bag to see how many bags needed
# 6. Round the number of bags up to the next whole number
# 7. State the number of bags