Answer & Explanation
Then differentiating under the integral sign,
Then integrating back,
This is quite similar to Random Variable's solution, just the starting integral is different to make the calculations a bit simpler.
Factor out from the denominator and rewrite to obtain:
Use the substitution and evaluating the resulting integral is easy so
For , hence
Replace b with and you get: