The teacher will be very surprised to see your correct solution 😉
sum
2*pi
=
2*pi
product
0*2*pi
=
0
0
x1 = 69.1150383789755
x2 = 12.5663706143592
x3 = -50.2654824574367
x4 = 25.1327412287183
x5 = 18.8495559215388
x6 = 56.5486677646163
x7 = 56.5486677646163
x8 = 94.2477796076938
x9 = 43.9822971502571
x10 = -69.1150383789755
x11 = -81.6814089933346
x12 = 50.2654824574367
x13 = 87.9645943005142
x14 = -43.9822971502571
x15 = -6.28318530717959
x16 = -502.654824574367
x17 = -18.8495559215388
x18 = 138.230076757951
x19 = 50.2654824574367
x20 = 81.6814089933346
x21 = -62.8318530717959
x22 = 6.28318530717959
x23 = -94.2477796076938
x24 = -12.5663706143592
x25 = 119.380520836412
x26 = 75.398223686155
x27 = -75.398223686155
x28 = -31.4159265358979
x29 = 62.8318530717959
x30 = -6.28318530717961
x31 = -56.5486677646163
x32 = -87.9645943005142
x33 = 37.6991118430775
x34 = -25.1327412287183
x35 = -37.6991118430775
x36 = 100.530964914873
x37 = 0.0
x38 = 31.4159265358979
x39 = 12.5663706143592
x40 = -100.530964914873
x40 = -100.530964914873