The cost to manufacture a product is proportional to the quantity produced, with a cost of $90000 dollars per day when 300 items are produced. The cost to store n items is proportional to the square of n, with a daily storage cost of $720 dollars when 300 items are stored. In addition, there is a fixed daily cost of $6000. The total daily cost, C when producing and storing n items is the sum of production, storage and fixed costs
Write a formula for Q as a function of n.
Q=