So, I was just toying around with integrals and happened to come across two that I am curious as to their convergence. I can't determine a definite way to test if the integral converges or diverges. I would expect them to converge:
$\displaystyle\int^{\infty}_0\left(\frac{1+\sin x}{2}\right)^{x}{\rm d}x$
and
$\displaystyle\int^{\infty}_0\left(\frac{1+\cos x}{2}\right)^{x}{\rm d}x.$
Do these integrals converge or diverge? The limit test gave me nothing, since there are always peaks that have a local maximum of 1 occurring at every integer multiple of $2\pi.$
Also, if these integrals do indeed converge, what values do they converge to?