Browse Source

cuberoot funktion

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
ff8ee0efe7
  1. 5
      src/c/funktionen.c

5
src/c/funktionen.c

@ -22,4 +22,7 @@ float cube(float x) {
return x * x * x; return x * x * x;
} }
// Function to calculate the cube root of a number
float cubeRoot(float x) {
return cbrt(x);
}
Loading…
Cancel
Save