The value of (1+sinπ8+icosπ81+sinπ8−icosπ8)8
-1
0
1
2cos3π8
Let sinπ8+icosπ8=z
(1+sinπ8+icosπ81+sinπ8−icosπ8)8=(1+z1+1z)8=z8 =cosπ2-π8+i sinπ2-π88
=cos3π8+i sin3π88 = cos 3π +i sin3π =-1 by Demovier's theorem