diff --git a/src/c/funktionen.c b/src/c/funktionen.c index d3e8510..1b6961d 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -164,3 +164,8 @@ float squareRootPlusOne(float x) { return 0; } } + +// Function to calculate the cube root of a number and add 1 +float cubeRootPlusOne(float x) { + return cbrt(x) + 1; +}