`S=[cos(a+\pi/3)+cos(a-\pi/3)]/[cot a-cot (a/2)]`
`S=[2.cos a.cos(\pi/3)]/[[cos a]/[sin a]-[cos (a/2)]/[sin (a/2)]]`
`S=[2 .cos a. 1/2]/[[cos a.sin a/2 -sin a.cos (a/2)]/[sin a.sin (a/2)]`
`S=[cos a.sin a.sin (a/2)]/[1/2[sin(3/2 a)+sin (-1/2a)-sin (3/2 a)-sin (1/2a)]]`
`S=[2.cos a.sin a.sin (a/2)]/[sin (-1/2 a)-sin(1/2 a)]`
`S=[sin 2a.sin(a/2)]/[-sin(1/2a)-sin (1/2a)]`
`S=-1/2 sin 2a`.