I have a function profit(x) which is the integral of "something" from 0 to x. Given y, I am trying to find the value x so that profit(x)=y.
The issue is tha