sum of sin(n*pi*x) from n=0 to infinity