Skip to main content

Numerical integration using methods like: Trapezoidal method, Simpson rule, Newton cotes method and Compound trapezoidal method

Project description

Hi!, with this package you can use different methods in order to aproximate the numerical integration of a function, using methods like: Trapezoidal method, Simpson rule, Newton cotes method and Compound trapezoidal method.

You can invoke the following methods:

1.- funcion(x) — by defult is: funcion(x) = 1/(1+(x**2))

2.- trapecio(f,x_0,x_1,h)

3.- Simpson(f,x_0,x_1,x_2,h)

4.- NewtonCotOpen(f,x_1,x_2,x_3,x_4,h)

5.- trap_Comp(f,a,b,h,n):

6.- analitica(a,b)

7.- error(analitica, numerica)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

NumIntM-0.0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page