Finding the derivatives of tangent, cotangent, secant, and/or cosecant functions