diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 92f25aa..682bf23 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -83,4 +83,9 @@ int characterAppearanceInString(char c, char string[]) { // Function to calculate the sine of an angle in radians float sine(float x) { return sin(x); +} + +// Function to calculate the cosine of an angle in radians +float cosine(float x) { + return cos(x); } \ No newline at end of file