From ea42be32a2a18bbdee7b0a111deaee2dd3639f63 Mon Sep 17 00:00:00 2001 From: Harry Clark Date: Thu, 22 Dec 2022 14:39:55 +0000 Subject: [PATCH] Add files via upload --- include/sqrt.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/sqrt.h diff --git a/include/sqrt.h b/include/sqrt.h new file mode 100644 index 0000000..4693b05 --- /dev/null +++ b/include/sqrt.h @@ -0,0 +1,21 @@ +#pragma once + +#ifndef SQRT +#define SQRT +#include +#include +#include + +typedef struct +{ + static double TOLERANCE; + static double ERROR; + static double RESULT; + static double LATEST_RESULT; + static double RESULT; + static int MAX_ITERATION; + static int ITERATION; + +} NEWTON; + +#endif \ No newline at end of file