diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2024-09-13 15:03:36 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2024-09-13 15:03:36 +0300 |
commit | 49b2b840c668c64089936e681192c75a8de2c81c (patch) | |
tree | c92fbb6e289a978f083133c07c799a456e29ddd0 /libs | |
parent | bd2943ca42013a089975893eb84e1e48cec6a03b (diff) |
iniial commitsin-sum
Diffstat (limited to 'libs')
-rw-r--r-- | libs/libpoly.c | 7 | ||||
-rw-r--r-- | libs/libsin.c | 7 | ||||
-rw-r--r-- | libs/libsq.c | 4 |
3 files changed, 0 insertions, 18 deletions
diff --git a/libs/libpoly.c b/libs/libpoly.c deleted file mode 100644 index 2daa972..0000000 --- a/libs/libpoly.c +++ /dev/null @@ -1,7 +0,0 @@ - -#include <math.h> - -// calculate polynomial -double f(double x) { - return pow(x, 3) - 2*x*x - 10*x + 69; -} diff --git a/libs/libsin.c b/libs/libsin.c deleted file mode 100644 index 34200af..0000000 --- a/libs/libsin.c +++ /dev/null @@ -1,7 +0,0 @@ - -#include <math.h> - -// calculate sine -double f(double x) { - return sin(x); -} diff --git a/libs/libsq.c b/libs/libsq.c deleted file mode 100644 index 2b93fb4..0000000 --- a/libs/libsq.c +++ /dev/null @@ -1,4 +0,0 @@ -// calculate square -double f(double x) { - return x*x; -} |