First make a substitution and then use integration by parts to evaluate the integral -1 cos()dt T/2

Question

how to solve problem in photo attached