From fcd302eee44840b88070c3be2ea854bd1259c16a Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 20:34:31 +0100 Subject: [PATCH] tangent Funktion --- src/c/funktionen.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 682bf23..49c9fa5 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -88,4 +88,9 @@ float sine(float x) { // Function to calculate the cosine of an angle in radians float cosine(float x) { return cos(x); +} + +// Function to calculate the tangent of an angle in radians +float tangent(float x) { + return tan(x); } \ No newline at end of file