From f5e0076a8455eec5b4a515b39202217f8a8b9e71 Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Sun, 13 Oct 2024 19:28:57 +0300 Subject: Initial commit --- include/integral.h | 12 ------------ include/roots.h | 15 --------------- 2 files changed, 27 deletions(-) delete mode 100644 include/integral.h delete mode 100644 include/roots.h (limited to 'include') diff --git a/include/integral.h b/include/integral.h deleted file mode 100644 index 3eb6ff7..0000000 --- a/include/integral.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef JUSTANOTHERCATGIRL_TASK4_INTEGRAL -#define JUSTANOTHERCATGIRL_TASK4_INTEGRAL - -typedef double(*func_t)(double); - -extern double accrc; - -double int_rect(func_t f, double a, double b); -double int_trap(func_t f, double a, double b); -double int_simp(func_t f, double a, double b); - -#endif //JUSTANOTHERCATGIRL_TASK4_INTEGRAL diff --git a/include/roots.h b/include/roots.h deleted file mode 100644 index 138382b..0000000 --- a/include/roots.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef JUSTANOTHERCATGIRL_TASK4_ROOTS -#define JUSTANOTHERCATGIRL_TASK4_ROOTS - -typedef double(*func_t)(double); - -extern char root_ok; - -char is_root_ok(void); -double sol_binsr(func_t f, double a, double b, double ex, double ey); -double sol_chord(func_t f, double a, double b, double ex, double ey); -double sol_newtn(func_t f, double x0, double ex, double ey); -double sol_itern(func_t f, double x0, double ex, double ey); - - -#endif // JUSTANOTHERCATGIRL_TASK4_ROOTS -- cgit v1.2.3-70-g09d2