I did not mean to offend you in any way. I just don't understand what you don't understand. I am confused too. I will show you the difference between definite and indefinite integrals and I hope that this is what you need to know.
Let me start with indefinite:
∫sinx dx=−cosx+C
And now focus on the definite:
∫0πsinx dx=−cosx∣∣∣∣∣0π=−(cosπ−cos0)=−(−1−1)=−(−2)=2
I think that you want to know why there is no
C in the definite integral. The answer is that you don't need to write it because eventually it will vanish.
Let us write it and see what happens:
∫0πsinx dx=−cosx+C∣∣∣∣∣0π=−cosπ+C−(−cos0+C)