cos2π7+cos4π7+cos6π7 =
1
-1
Roots of z7=1 are e2kπi7,where k = 0,1,2,.....,6.
Sum of roots = 0 ⇒ Real part of sum of roots = 0
⇒1+cos2π7+cos4π7+cos6π7+cos8π7+cos10π7+cos12π7=0
⇒cos2π7+cos4π7+cos6π7=−12