average total cost n.
cost total mediu