This question was asked in Ex 5.6, 6

Identity which should be used in the denominator is 'cos2theta/2'=1-2sin²theta/2

vaseem's image