thus when you plug in pi all summands containing the sine function will become zero and when you plug in zero even the theta-summands will become zero too.
Thanks, I understand the 0 result when 0 is pluged in for theta. I'm not seeing how the result is reached when pi is plugged in for theta. That's what I was trying to work out in the last 2 lines of my post.