https://www.mathstoon.com/derivative-of-tan-x/
Derivative of tan x: Proof by First Principle, Product, Quotient, Chain Rule