plot (sum cos(i*x+(i-1)*pi/2)/i with i=1 to 10)