From da1d688fa9d6546c2f59494250bab1f9056e2715 Mon Sep 17 00:00:00 2001 From: fdai7968 Date: Thu, 8 Feb 2024 16:37:31 +0000 Subject: [PATCH] Update src/trig_functions/trig_functions.c --- src/trig_functions/trig_functions.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/trig_functions/trig_functions.c b/src/trig_functions/trig_functions.c index 8b13789..8eec384 100644 --- a/src/trig_functions/trig_functions.c +++ b/src/trig_functions/trig_functions.c @@ -1 +1,14 @@ +#include "trig_functions.h" +#include +double calculate_sin(double angle) { + return sin(angle); +} + +double calculate_cos(double angle) { + return cos(angle); +} + +double calculate_tan(double angle) { + return tan(angle); +}