integral ((pi-x)sin(nx))dx from 0 to pi