Quote by Zack88
ok with doing parts again confuses me since i have xsinmx /m. The u should it be m? but then what is the derivative of m?

The 'm' is a constant, so that will not be involved in the integration. Make the integral
(1/m) · integral[ x sin(mx) ] dx . Now u = x and dv = sin(mx) dx . You can append the multiplicative constant (1/m) afterwards...