Numerical Integration by Trapeziod Sum and Simpson’s Rule

Calculates output of integral function using Trapeziod Sum Method and Simpson’s Rule.

Input: Mathmatical Equation (Integration Type)
Output: Integral Output

Numerical Integration by Trapeziod Sum and Simpson’s Rule

Input




Use 2 * x or 2*x instead of 2x and use 1st braces in functions e.g. sin(x) not sinx




 

Output

Numerical Integration Using Trapeziod Sum:

f115.275 (pow(x, 2) * exp(-x)) dx = 1.8387

Numerical Integration Using Simpson’s Rule:

f115.275 (pow(x, 2) * exp(-x)) dx = 1.8393

This entry was posted in Projects. Bookmark the permalink.