Is there a function $f$ that is integrable on a closed interval $[a,b]$ for $a, b \in \mathbb{R}$ and maps this interval to an open but bounded interval?
Edit:
I should have specified better. What I wanted was more of a function $f$ with a primitive function $F$ (that is $F' = f$ on $(a, b)$ and the one-sided limits of $F'$ are $f(a)$ resp $f(b)$).