{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/math.numerical.definite_integral.input.json",
  "title": "Definite integral — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "method": {
      "type": "string",
      "enum": [
        "simpson",
        "trapezoid"
      ]
    },
    "integrand": {
      "type": "string",
      "enum": [
        "poly",
        "sin",
        "exp"
      ]
    },
    "a": {
      "type": "number"
    },
    "b": {
      "type": "number"
    },
    "n": {
      "type": "integer",
      "minimum": 2,
      "maximum": 10000
    },
    "coeffs": {
      "type": "string"
    }
  },
  "required": [
    "a",
    "b"
  ],
  "description": "Composite trapezoid or Simpson 1/3 of a polynomial, sin, or exp on [a, b]. Not indefinite symbolic integrate. (calculation_version 1.0.0)"
}
