Consider the following question.
I=∫cos2x+2sin2xcos2xdx
=∫cos2x−sin2x+2sin2xcos2xdx
=∫sin2x+cos2xcos2xdx
=∫sec2xdx
=tanx+C
Hence, this is the required answer.
Evaluate ∫cos2x+2sin2xcos2xdx