@ -179,3 +179,8 @@ float sineDegrees(float x) {
float cosineDegrees(float x) {
return cos(degreesToRadians(x));
}
// Function to calculate the tangent of an angle in degrees
float tangentDegrees(float x) {
return tan(degreesToRadians(x));