Browse Source

sine funktion

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

8
src/c/funktionen.c

@ -1,4 +1,7 @@
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include "funktionen.h"
void welcome() {
@ -76,3 +79,8 @@ int characterAppearanceInString(char c, char string[]) {
return appear;
}
// Function to calculate the sine of an angle in radians
float sine(float x) {
return sin(x);
}
Loading…
Cancel
Save