aboutsummaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2024-09-18 09:57:28 +0300
committerjustanothercatgirl <sotov@twistea.su>2024-09-18 09:57:28 +0300
commit8e4446ce02f37a0f9ef145a49a82aae1bf7223fe (patch)
tree3037819eeabd0c0c793869d1c62a72ded88214bf /libs
parentbd2943ca42013a089975893eb84e1e48cec6a03b (diff)
initial commitmontecarlo
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;
-}