cos20°+cos100°+cos140°
=2cos( 20°+100°/2)cos( 20°-100°/2)+cos140°
=2cos60°cos40°+cos(π-40°)
=cos40-cos40°
=0