Question 1135374
IDK what a "revenue function" is, and I don't care.
You find it, then we can see about simplifying it.