I finally understand what tangent, secant, cotangent and cosecant represent in trigonometry, so I put together this small project. (This doesn't have cotangent and cosecant because they went offscreen) To calculate these values, I did the following: Tangent(θ) = cosine(θ) / sine(θ) Secant(θ) = 1 / sin(θ) Cotangent(θ) = sine(θ) / cosine(θ) Cosecant(θ) 1 / cosine(θ) For more info: vvvvv https://en.wikipedia.org/wiki/Trigonometric_functions