area
Compute the area under a curve defined by a mathematical expression between specified start and end points, using numerical integration for accurate results.
Instructions
Calculate the area under a curve between two points
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end | Yes | ||
expression | Yes | ||
n | No | Number of subintervals (default: 1000) | |
start | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"end": {
"type": "number"
},
"expression": {
"type": "string"
},
"n": {
"description": "Number of subintervals (default: 1000)",
"type": "number"
},
"start": {
"type": "number"
}
},
"required": [
"expression",
"start",
"end"
],
"type": "object"
}