diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 0dc9a0d..8900f8b 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -174,3 +174,8 @@ float cubeRootPlusOne(float x) { float sineDegrees(float x) { return sin(degreesToRadians(x)); } + +// Function to calculate the cosine of an angle in degrees +float cosineDegrees(float x) { + return cos(degreesToRadians(x)); +}