diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 8900f8b..83ed4ba 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -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)); +}