integral
Compute the indefinite integral of a mathematical expression with respect to a specified variable. Ideal for solving calculus problems involving integration of functions like polynomials, exponentials, and trigonometric expressions.
Instructions
Calculate the indefinite integral of a mathematical expression
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expression | Yes | Mathematical expression (e.g., "x^2", "e^x", "sin(x)") | |
variable | No | Variable to integrate with respect to (default: x) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"expression": {
"description": "Mathematical expression (e.g., \"x^2\", \"e^x\", \"sin(x)\")",
"type": "string"
},
"variable": {
"description": "Variable to integrate with respect to (default: x)",
"type": "string"
}
},
"required": [
"expression"
],
"type": "object"
}