sum of sin(i) for i from 0 to 9