Browse Source

tangent Funktion

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

5
src/c/funktionen.c

@ -88,4 +88,9 @@ float sine(float x) {
// Function to calculate the cosine of an angle in radians // Function to calculate the cosine of an angle in radians
float cosine(float x) { float cosine(float x) {
return cos(x); return cos(x);
}
// Function to calculate the tangent of an angle in radians
float tangent(float x) {
return tan(x);
} }
Loading…
Cancel
Save