I have already posted a question similar to this one so I'm sorry if you're seeing this again. However, I'd like to whether I could get help solving the below definite integral step by step because I do not understand how to get to the answer which my GDC calculator gives me. The problem involves a trigonometric integral with a sine to the second degree. The problem goes as follows: $$\pi\int_0^{109.620851326}(8.89412\sin(0.047169x+0.105306)+21.8786)^2~dx$$ My attempts at the solution to both the indefinite and definite integral involved the expression for the reduction of $\sin^2$ which is the correct approach. I reduced sine in the following manner: $$\sin^2\theta=\frac{1-\cos{2\theta}}{2}$$ The answer to the definite integral also seems to be 15086.383263155 so the goal is to reach that answer. Whatever I seem to do I always get around 642.78185152953. I know that it will be difficult to explain every step and for that I apologise, I just haven't been able to find help to do this anywhere else. I really appreciate any help! :) Thank you.
P.S Sorry for the poor MathJax, I'm new to the system .
\begin{align} k\int_a^b \frac{1-\cos2\theta}2\ d\theta&=k\int_a^b\frac12-\frac12\cos2\theta\ d\theta\\ &=k\bigg(\frac12\theta-\frac12\cdot\frac12\sin2\theta\bigg)\bigg]_a^b\\ &=k\bigg(\big(\frac12b-\frac14\sin2b\big)-\big(\frac12a-\frac14\sin2a\big)\bigg) \end{align}
What is the expression to which you reduced?
Edit: the expression that you want to reduce is in the form $$(\alpha\sin(\beta x+\gamma)+\delta)^2$$
The manipulation should look like \begin{align} (\alpha\sin(\beta x+\gamma)+\delta)^2&=\alpha^2\sin^2(\beta x+\gamma)+2\alpha\delta\sin(\beta x+\gamma)+\delta^2\\ &=\alpha^2\bigg(\frac{1-\cos2(\beta x+\gamma)}{2}\bigg)+2\alpha\delta\sin(\beta x+\gamma)+\delta^2\\ &=\frac{\alpha^2}{2}+\delta^2-\frac{\alpha^2}{2}\cos2(\beta x+\gamma)+2\alpha\delta\sin(\beta x+\gamma) \end{align}
Then, letting $I$ be the definite integral we need above, we have \begin{align} I&=\pi\int_a^b \frac{\alpha^2}{2}+\delta^2-\frac{\alpha^2}{2}\cos2(\beta x+\gamma)+2\alpha\delta\sin(\beta x+\gamma)\ dx\\ &=\pi\bigg((\frac{\alpha^2}{2}+\delta^2)x-\frac{\alpha^2}{4\beta}\sin 2(\beta x+\gamma)-\frac{2\alpha\delta}{\beta}\cos(\beta x+\gamma)\bigg)\bigg]_a^b \end{align}
Make the appropriate substitutions, and you have your final answer.