cosx = cos²(x/2)-sin²(x/2)
= {cos²(x/2)-sin²(x/2) } / { cos²(x/2)+sin²(x/2) }
= {1-tan²(x/2) } / { 1+tan²(x/2) }
= (1-3²)/(1+3²)
= -8/10
= -4/5
cosx = cos²(x/2)-sin²(x/2)
= {cos²(x/2)-sin²(x/2) } / { cos²(x/2)+sin²(x/2) }
= {1-tan²(x/2) } / { 1+tan²(x/2) }
= (1-3²)/(1+3²)
= -8/10
= -4/5