As an example, the area of a rectangular lot, expressed in terms of its length and width, may also be expressed in terms of the cost of fencing. Thus the area can be expressed as $A = f(x)$. The common task here is to find the value of $x$ that will give a maximum value of $A$. To find this value, we set $dA/dx = 0$.