At Westonci.ca, we connect you with the best answers from a community of experienced and knowledgeable individuals. Get expert answers to your questions quickly and accurately from our dedicated community of professionals. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.

The revenue from selling q
items is R(q)=125q−q2
, and the total cost is C(q)=200+5q
. Write a function that gives the total profit earned, and find the quantity which maximizes the profit.