this is a rectangle area optimization problem:
A farmer wants to enclose a rentangular area with a fence. He would like the fence to be as inexpensive as possible. Assume the fencing material cost $1 per foot.
a) suppose $40 is available for the project, what is the maximum area that can be enclosed.
b) suppose 100 square feet must be enclosed. what is the least possible cost?