2nd_Sem_Bogachev/2025.05.09/07Ex/solve.h
2025-05-13 12:25:48 +03:00

23 lines
301 B
C

#ifndef SOLVE_H
#define SOLVE_H
#define NUM_FPE 1e-300
#include "init_f.h"
#include <stddef.h>
static double (*f_global)(double) = NULL;
static inline double wf (double x)
{
return f_global(x) * weight(x);
}
double t7_solve (
double (*f) (double),
double a, double b,
int n
);
#endif