This question was asked in Ex 13.2, 11
Derivative of tan x

Shubha Shubha's image