Skip to content

A pascal program that calculates the definite integral of a function.

Notifications You must be signed in to change notification settings

mgonzalezg9/Definite-integral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Definite Integrals Calculator

A pascal program that calculates the definite integral of a function given the upper and lower limits of the integral.

Method

The method used is the Trapezoidal rule. By default it calculates the integral for the function f(x) = x². However, this method is applicable for any function just changing the function definition in the Pascal code.

Running the file

It requires to install the Free Pascal Compiler (fpc):

$ fpc aproxintegral.pas

Now we can execute the binary file

$ ./aproxintegral 

About

A pascal program that calculates the definite integral of a function.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages