An open API service indexing awesome lists of open source software.

https://github.com/vovandreevik/spline-lagrange-quanc8

The program calculates the value of the function for a given x and a given step using the QUANC8 program. Builds a spline function and a Lagrange polynomial of degree 10
https://github.com/vovandreevik/spline-lagrange-quanc8

cpp langrange-interpolation quanc8 spline

Last synced: 25 days ago
JSON representation

The program calculates the value of the function for a given x and a given step using the QUANC8 program. Builds a spline function and a Lagrange polynomial of degree 10

Awesome Lists containing this project

README

          

# Spline-Lagrange-QUANC8

The program calculates the value of the function for a given x and a given step using the QUANC8 program.

_In the program_ $0 \leq x \leq 2, h = 0.2, f(x) = \displaystyle\int\limits_0^1\mathrm{e}^{xt}sin(t)\mathrm{d}t$

Builds a spline function and a Lagrange polynomial of degree 10 from the obtained points.

Compares the values of the spline function and the polynomial with the exact values of the function at the points $x_k = (k - 0.5) h, k = 1, 2, ..., 10$.

```quanc8.h``` and ```spline.h``` are library programs