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
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