Skip to content

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

Notifications You must be signed in to change notification settings

vovandreevik/Spline-Lagrange-QUANC8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published