Trigonometry, tan and cot identities, cofunction identities, sum and difference formulas