sum sin(x)sin(kx) k=1..n