The company discovered that it costs $45 to produce 2 widgets, $143 to produce 4 widgets, and $869 to produce 10 widgets.
Here is the cost function used to represent this situation in terms of the number of widgets produced:
c(x) = 9x^2 - 5x + 19
Find the total cost of producing 9 widgets.