I don't see a square root sign anywhere, so I'll assume the integral is
First complete the square:
Now in the integral, substitute
so that
Under this change of variables, we have
Under the right conditions, namely that cos(<em>t</em>) > 0, we can further reduce the integrand to
Expand the sine term as
Then
So the integral is
You are already correct.