but could you please tell me how to start solving the integral?
variables change? trigo. functions?
First get the L out of under the integral by putting y=x/L.
That won't necessarily help though, because there is no guarantee
that this has a closed form integral in terms of elementary and not
so elementary but known functions.