aboutsummaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/libpoly.c7
-rw-r--r--libs/libsin.c7
-rw-r--r--libs/libsq.c4
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;
-}