An open library for your next question. Public pilot
Executable Science
Log inCreate account
← All resources
Original examples

Step refinement for explicit Euler decay

Integrate y'=-y from zero to one at five resolutions and compare each final value with the analytical exponential solution.

Proposed original example. Source release and any execution are separate steps.

A QUESTION TO TAKE FURTHER

How does the final-time error change when the step size is halved?

All runs share y(0)=1 and final time one; compare with exp(-1) and retain every refinement.

What you could produce

  • A scoped observations JSON record and a comparison with the stated reference.

Before you use it

  • Python 3.13 standard library

Limits to keep in view

  • No research code was executed by the preparation tool.
  • Author output cannot issue an independent scientific-verification result.

Source and permission context

Original local preparation by the Executable Science seed collection; upstream API references remain separately attributed.

Catalog listing reviewed. This review covers the description and source links displayed here.

Local draft title, collective byline, original summary, and proposed split terms reviewed.

Reviewed 2026-09-14. Copying or adapting source files remains subject to their own terms.

Before copying source material

  • Proposed local-draft licenses: original code MIT, explanations CC-BY-4.0, synthetic numeric data CC0-1.0; publication/disclosure approval remains separate.