Let $f(x) = x^2+1$. I would like to compute the limit $$ \lim_{k \to +\infty} k \int_0^1 \sin \left [ \left ( k + \frac{1}{2} \right ) \pi x \right ] f(x) \, \mathrm d x. $$
Then I use the command
Limit[Integrate[k * Sin[( k + 1 / 2) * Pi * x] * (x^2 + 1), {x, 0, 1}], k -> Infinity]
Mathematica returns Indeterminate
Could you explain how to get the explicit limit? Thank you so much for your help!
1/pi
with no decreasing amplitude of oscillations so Mathematica is right. $\endgroup$