From 5bd7a8228ff6db812fd7a63b13c202d7fdd59ceb Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 19:54:45 +0100 Subject: [PATCH] sine funktion --- src/c/funktionen.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/c/funktionen.c b/src/c/funktionen.c index c1ba980..92f25aa 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -1,4 +1,7 @@ #include +#include +#include +#include #include "funktionen.h" void welcome() { @@ -75,4 +78,9 @@ 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); } \ No newline at end of file