# Tyrone's Cocaine Factory

**Calculus**Level 3

Tyrone operates a trap that produces crack and sells each gram of dope at \(10x\) its mass in grams. If his revenue can be modeled by the function \(r(x) = 10x\) where \(x\) is the number of grams, and the function is in terms of hundreds of dollars. Tyrone's chefs have a function that calculates the cost of operating the trap: \(c(x) = x^3 - 6x^2 + 15x\)

How many grams should Tyrone cook in order to make the most profit?