# Math Help - integration

1. ## integration

how do you integrate (x-t)sintdt from o to x?
Thanks
Do you use substitution?

2. $\int_{0}^{x}{(x-t)\sin (t)\,dt}=x\int_{0}^{x}{\sin (t)\,dt}-\int_{0}^{x}{t\sin (t)\,dt}.$

First one is immediate and the second one requires integration by parts.