heres a simple rule which will help remember most integrals
Sin
Intergrates
Negative
from here u know that if sin intergrates negative, then it must differentiate positive and therefor cos is the opposite. It differentiates negative and intergrates positive etc etc