Crash course-cost revenue and profit maximization