diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 1b6961d..0dc9a0d 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -169,3 +169,8 @@ float squareRootPlusOne(float x) { float cubeRootPlusOne(float x) { return cbrt(x) + 1; } + +// Function to calculate the sine of an angle in degrees +float sineDegrees(float x) { + return sin(degreesToRadians(x)); +}