Consider $f$ a real integrable function, usually we want to evaluate the integral $\int_a^bf(x)dx$ for some $a<b$ given. Now, suppose we know $a$ but we don't know $b$, further, we know the value of this integral, let $\int_a^bf(x)dx=\lambda$. My question is, in what conditions we can find $b$ given $\lambda$, and how (including numerical methods)?
I'm interested in cases for which $f$ does not have a known primitive.
Consider $F(x)=\int_{a}^{x}{f(t)dt}$. You want to solve the equation $F(x)=\lambda$. For elementary functions, this is easy to solve but most of the time we end with a non-analytically equation which need numerical methods.
An easy example is for $f(t)=t$. In this case $F(x)=\frac{x^2-a^2}{2}=\lambda$ and then $ x^2=a^2+2\lambda$. If $\lambda\ge -\frac{a^2}{2}$, $ b$ is determined.