caclulus_area_under_curve
Calculate the definite integral (signed area) or geometric area under a curve using Simpson's 1/3 rule. Supported functions: x, x^2, x^3, sin(x), cos(x), exp(x), sqrt(x).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function | Yes | Function: x, x^2, x^3, sin(x), cos(x), exp(x), or sqrt(x) | |
| intervals | Yes | Even number of subintervals, from 2 to 100000 | |
| lowerLimit | Yes | Lower integration limit | |
| upperLimit | Yes | Upper integration limit | |
| geometricArea | Yes | True for geometric area (integral of absolute value); false for signed integral |