Browse Source

sineDegrees

remotes/origin/Khaled
Khaled 11 months ago
parent
commit
996e26a968
  1. 5
      src/c/funktionen.c

5
src/c/funktionen.c

@ -169,3 +169,8 @@ float squareRootPlusOne(float x) {
float cubeRootPlusOne(float x) { float cubeRootPlusOne(float x) {
return cbrt(x) + 1; return cbrt(x) + 1;
} }
// Function to calculate the sine of an angle in degrees
float sineDegrees(float x) {
return sin(degreesToRadians(x));
}
Loading…
Cancel
Save