A furniture company wants to minimize its costs and has determined that when x
wooden chairs are built, the average cost per chair is given by
C(x)=0.01x2 -7x+1265