From ff8ee0efe79f23b6043316981636d0a5240e0606 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 16:20:03 +0100 Subject: [PATCH] cuberoot funktion --- src/c/funktionen.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 79e25b5..40d41d3 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -22,4 +22,7 @@ float cube(float x) { return x * x * x; } - +// Function to calculate the cube root of a number +float cubeRoot(float x) { +return cbrt(x); +}