An area for planting crops is given by:

A = 800 + 20x - 1/2x^2

Find the value of x which the area is a maximum

recall that the vertex of a parabola is at x = -b/2a

In this problem, that is

x = -20/-1 = 20