Ordinary Differential Equation Calculator
Scalar first-order IVP y′=f(t,y) by Euler or classical RK4. rhs linear is y′=k y; poly is y′=p(t). Not rk45, not systems, not PDE, not CAS. Runs locally.
Trust summary Engine tested · Specification checked · 9/9 tests · Production surface contract 4/4 · v1.0.0
- Input interpretation
- Enter values to calculate.
- Result
- —
- Model
- y(t1) of a scalar first-order IVP by Euler or RK4, with an exact check for linear and poly rhs.
- Scope
- Scalar first-order only
- Verification
- Engine tested · 9/9 tests · Production surface contract 4/4 · Specification checked · v1.0.0
- Named expert review
- Optional · Not performed
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Evidence
- 3 golden · 2 boundary · 4 property · Production surface contract 4/4 · Artifact integrity PASS
- Production
- Embedded snapshot: unpublished · Build schema 1.0.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status STALE (1 capability; 163 remain CURRENT) @ 2026-09-19T00:00:17.039Z
- Semantic contract
- PASS
Formulas
Core equations used by this calculator.
How to use
Choose method and rhs
Linear needs k (default 1). Poly needs coeffs. RK4 is fourth-order; Euler is first-order.
Enter y0, t0, t1, and n
t1 must differ from t0. Backward steps (t1 < t0) are allowed. The exact check is shown for linear and poly.
Example calculations
Common configurations with formula and result.
y′=y, y(0)=1 at t=1
rk4, n=40, k=1
y′=2t, y(0)=0 at t=1
poly coeffs 0,2
Ordinary Differential Equation calculator specification
Version 1.0.0 · Engine tested
- Engine tested 9/9 tests · Production surface contract 4/4
- Named expert review Not performed
- Calculation version 1.0.0
- Definition
- A scalar first-order initial-value problem y′=f(t,y), y(t0)=y0 is stepped to t1. This seed uses forward Euler or classical RK4. Linear rhs is y′=k y with exact y0 e^{k(t1−t0)}. Polynomial rhs is y′=p(t) with exact y0+∫p. Not a system, not second-order, not adaptive RK45, not a PDE, not a CAS.
- What it calculates
- y(t1) of a scalar first-order IVP by Euler or RK4, with an exact check for linear and poly rhs.
- Inputs
- method
- rhs
- y0
- t0
- t1
- n?
- k?
- coeffs?
- Outputs
- y
- exact
- abs_err
- h
- n
- Formula
Euler / classical RK4- Assumptions
- Scalar first-order only
- Not rk45, not systems, not PDE, not CAS
- Polynomial degree ≤ 8
- Units
- dimensionless
- Boundary conditions
- t1 = t0 → INVALID_INPUT
- n < 1 or n > 10000 → INVALID_INPUT
- unknown method (including rk45) → INVALID_MODE
- Example
- rk4 linear k=1 y0=1 t0=0 t1=1 n=40 → exact=e
- Validation cases
2 published on this page · 9/9 tests · Production surface contract 4/4 · View evidence
- method=rk4 rhs=linear k=1 y0=1 t0=0 t1=1 n=40 → exact=e
- method=rk45 rhs=linear y0=1 t0=0 t1=1 → INVALID_MODE
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.0.0
Related tools
Other calculators in this family: Brent Method Calculator, Definite Integral Calculator, Euler Method Calculator, Gauss Quadrature Calculator, Golden Section Search Calculator, Numerical Derivative Calculator, Numerical Interpolation Calculator, Numerical Root Calculator . Explore all Numerical Calculus.
Frequently asked questions
Key distinctions behind the calculation.
Does this solve systems, second-order, or adaptive RK45?
No. This seed is a scalar first-order IVP with euler or rk4. Systems, second-order, rk45, and PDE are INVALID_MODE.
Where does this run?
Locally in the browser by default. REST and MCP call the same ordinary-differential-equation engine. /euler-method and /runge-kutta are discovery URLs, not a second engine.