IDNLearn.com offers a unique blend of expert answers and community-driven knowledge. Our experts provide accurate and detailed responses to help you navigate any topic or issue with confidence.

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.