If I enter $\int\sin^2(x)\,dx$ into an integral calculator it returns: $$\int\sin^2(x)\,dx=-\frac{\sin(2x)-2x}{4}+c$$
If I calculate it with Angular multiples I come to: $$\int\sin^2(x)\,dx=\int\frac{1-\cos(2x)}2 \, dx=\frac{\sin(2x)-2x} 4 +c$$ Here is my calculation
If I calculate it with partial integration and substitution I come to: $$\int\sin^2(x)\,dx=-\frac{\sin(x)\cos(x)+x} 2 +c$$
Here is my second calculation
If I plot all of the functions they look also different...
So which one is right? Or maybe are all of them right due to the "+c"?
EDIT: I have added my calculations, maybe you can help me to spot the wrong signs - thanks!