Browse Source

test_cosineDegrees

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

5
src/c/funktionen.c

@ -174,3 +174,8 @@ float cubeRootPlusOne(float x) {
float sineDegrees(float x) {
return sin(degreesToRadians(x));
}
// Function to calculate the cosine of an angle in degrees
float cosineDegrees(float x) {
return cos(degreesToRadians(x));
}
Loading…
Cancel
Save