Simpson's 1/3 Rule Integrator

This program calculates the definite integral of a function using Simpson's 1/3 Rule method.

How to Use

Enter the function to be integrated in the format of a Python expression in the "Function" field. For example, "x**2 + 1" represents the function f(x) = x^2 + 1. Enter the lower and upper limits of integration in the "Lower Limit" and "Upper Limit" fields, respectively. Enter an even integer for the number of subintervals in the "Number of Subintervals" field. Click the "Calculate" button to get the value of the definite integral and a step-by-step explanation of the calculation process.

Input Fields

Function: The function to be integrated. Must be in the format of a Python expression. For example, "x**2 + 3*x + 5". Lower Limit: The lower limit of integration. Upper Limit: The upper limit of integration. Number of Subintervals: The number of subintervals or nodes. Must be an even integer.

Output Fields

Integral: The value of the definite integral. Steps: A step-by-step explanation of the calculation process in Latex format.

Limitations

This program can only calculate the definite integral of a function using Simpson's 1/3 Rule method for a single interval.

Built With

Share this project:

Updates