From 45bd020c5133aa6990f2eea0c95ac906eeaa36a4 Mon Sep 17 00:00:00 2001 From: Khaled Date: Sun, 4 Feb 2024 21:00:14 +0100 Subject: [PATCH] arcTangent Funktion --- src/c/funktionen.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/c/funktionen.c b/src/c/funktionen.c index ccb752f..456aac5 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -117,3 +117,8 @@ float arcCosine(float x) { } } +// Function to calculate the arc tangent of a value and return the result in radians +float arcTangent(float x) { + return atan(x); +} +