From aa0d37540f5bc4bb6327b43c7213b46d0e261cf0 Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Fri, 4 Oct 2024 17:37:14 +0300 Subject: Пока не закончил логику выбора программы, но готовы все алгоритмы MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/integral.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/integral.h (limited to 'include/integral.h') diff --git a/include/integral.h b/include/integral.h new file mode 100644 index 0000000..e3583b8 --- /dev/null +++ b/include/integral.h @@ -0,0 +1,12 @@ +#ifndef JUSTANOTHERCATGIRL_TASK4_INTEGRAL +#define JUSTANOTHERCATGIRL_TASK4_INTEGRAL + +typedef double(*f_t)(double); + +extern double accrc; + +double int_rect(f_t f, double a, double b); +double int_trap(f_t f, double a, double b); +double int_simp(f_t f, double a, double b); + +#endif //JUSTANOTHERCATGIRL_TASK4_INTEGRAL -- cgit v1.2.3-70-g09d2