{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/math.numerical.ode.input.json",
  "title": "Ordinary differential equation — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "method": {
      "type": "string",
      "enum": [
        "euler",
        "rk4"
      ]
    },
    "rhs": {
      "type": "string",
      "enum": [
        "linear",
        "poly"
      ]
    },
    "y0": {
      "type": "number"
    },
    "t0": {
      "type": "number"
    },
    "t1": {
      "type": "number"
    },
    "n": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "k": {
      "type": "number",
      "description": "growth rate for y′=k y"
    },
    "coeffs": {
      "type": "string",
      "description": "c0,c1,…,cn constant first for y′=p(t)"
    }
  },
  "required": [
    "y0",
    "t0",
    "t1"
  ],
  "description": "Scalar first-order IVP y′=f(t,y) by Euler or RK4. rhs linear is y′=k y; poly is y′=p(t). Not rk45, not systems, not PDE, not CAS. (calculation_version 1.0.0)"
}
