You can put this solution on YOUR website! The good ol' total cost function for one product C = mq + f, where q = no. of quantity of the product made, m = the unit cost for the product, and f = fixed cost in making the product. Here we are under the assumption that it always requires some amount of money to carry out production.