Test numerical update order against an exact trajectory
A plausible plotted curve is not evidence that a time integrator is accurate.
Learning outcome: Compare all three update rules at one N, then double N. Preserve exact and computed endpoints, error sign and the distinction between trajectory error and an impact model.
Starting recap
Read derivatives as local rates and integrals as signed accumulation. Review power and chain rules, vector components, units and initial conditions where used.
All lessons are open directly. Your saved experiments remain when you leave and return.
Try
With N=20, dt=.05 s, forward and velocity-first endpoint errors are+.25 and−.25 m. Doubling N halves these endpoint errors.
Open the experimentPredict
At N=10, forward Euler endpoint height error is:
Experiment
Compare all three update rules at one N, then double N. Preserve exact and computed endpoints, error sign and the distinction between trajectory error and an impact model.
Compare update order against an exact projectile
Worked teaching model · synthetic values · Virtual trajectory begins x0=0,y0=1 m with velocity(3,4) m/s and constant acceleration(0,−10) m/s². Exact first ground crossing is1 s. Integrators are compared algebraically to that endpoint; negative numerical height is an error, not simulated penetration or an impact response.
Reset keeps your prediction, captures and practice history.
Time-stepped path against exact pre-impact motion
Spatial axes use the same pixels per physical unit, preserving geometry. 1: computed algebraic steps to1 s (solid).2: exact path to ground (dashed). Joined curves show the supplied model, not additional observations.
Equivalent numerical coordinates for Time-stepped path against exact pre-impact motion
computed algebraic steps to1 s
| east position (m) | height (m) |
|---|---|
| 0 | 1 |
| 0.3 | 1.4 |
| 0.6 | 1.7 |
| 0.9 | 1.9 |
| 1.2 | 2 |
| 1.5 | 2 |
| 1.8 | 1.9 |
| 2.1 | 1.7 |
| 2.4 | 1.4 |
| 2.7 | 1 |
| 3 | 0.5 |
At most 82 representative computed coordinates including endpoints; the plotted curve can use a finer grid. A table of a revealed generator is not independent measurement evidence.
exact path to ground
| east position (m) | height (m) |
|---|---|
| 0 | 1 |
| 0.0375 | 1.049219 |
| 0.075 | 1.096875 |
| 0.1125 | 1.142969 |
| 0.15 | 1.1875 |
| 0.1875 | 1.230469 |
| 0.225 | 1.271875 |
| 0.2625 | 1.311719 |
| 0.3 | 1.35 |
| 0.3375 | 1.386719 |
| 0.375 | 1.421875 |
| 0.4125 | 1.455469 |
| 0.45 | 1.4875 |
| 0.4875 | 1.517969 |
| 0.525 | 1.546875 |
| 0.5625 | 1.574219 |
| 0.6 | 1.6 |
| 0.6375 | 1.624219 |
| 0.675 | 1.646875 |
| 0.7125 | 1.667969 |
| 0.75 | 1.6875 |
| 0.7875 | 1.705469 |
| 0.825 | 1.721875 |
| 0.8625 | 1.736719 |
| 0.9 | 1.75 |
| 0.9375 | 1.761719 |
| 0.975 | 1.771875 |
| 1.0125 | 1.780469 |
| 1.05 | 1.7875 |
| 1.0875 | 1.792969 |
| 1.125 | 1.796875 |
| 1.1625 | 1.799219 |
| 1.2 | 1.8 |
| 1.2375 | 1.799219 |
| 1.275 | 1.796875 |
| 1.3125 | 1.792969 |
| 1.35 | 1.7875 |
| 1.3875 | 1.780469 |
| 1.425 | 1.771875 |
| 1.4625 | 1.761719 |
| 1.5 | 1.75 |
| 1.5375 | 1.736719 |
| 1.575 | 1.721875 |
| 1.6125 | 1.705469 |
| 1.65 | 1.6875 |
| 1.6875 | 1.667969 |
| 1.725 | 1.646875 |
| 1.7625 | 1.624219 |
| 1.8 | 1.6 |
| 1.8375 | 1.574219 |
| 1.875 | 1.546875 |
| 1.9125 | 1.517969 |
| 1.95 | 1.4875 |
| 1.9875 | 1.455469 |
| 2.025 | 1.421875 |
| 2.0625 | 1.386719 |
| 2.1 | 1.35 |
| 2.1375 | 1.311719 |
| 2.175 | 1.271875 |
| 2.2125 | 1.230469 |
| 2.25 | 1.1875 |
| 2.2875 | 1.142969 |
| 2.325 | 1.096875 |
| 2.3625 | 1.049219 |
| 2.4 | 1 |
| 2.4375 | 0.9492188 |
| 2.475 | 0.896875 |
| 2.5125 | 0.8429687 |
| 2.55 | 0.7875 |
| 2.5875 | 0.7304688 |
| 2.625 | 0.671875 |
| 2.6625 | 0.6117188 |
| 2.7 | 0.55 |
| 2.7375 | 0.4867188 |
| 2.775 | 0.421875 |
| 2.8125 | 0.3554688 |
| 2.85 | 0.2875 |
| 2.8875 | 0.2179687 |
| 2.925 | 0.146875 |
| 2.9625 | 0.07421875 |
| 3 | 0 |
At most 82 representative computed coordinates including endpoints; the plotted curve can use a finer grid. A table of a revealed generator is not independent measurement evidence.
| Quantity | Value | Unit |
|---|---|---|
| Step size | 0.1 | s |
| Computed endpoint height | 0.5 | m |
| Exact endpoint height | 0 | m |
| Signed endpoint height error | 0.5 | m |
| Computed final vertical velocity | -6 | m/s |
| Exact first ground-crossing time | 1 | s |
Identical acceleration and step sizes do not make different update orders identical.
Forward Euler endpoint error is+5dt, velocity-first is−5dt and the midpoint-velocity update is exact for this constant acceleration apart from floating rounding. Negative numerical height diagnoses discretization error, not a modeled impact or physical penetration. All methods give the same final velocity here because integrating a constant acceleration is exact.
Predict before inspecting the values. Save contrasting records with assumptions and one alternative explanation. This virtual display does not certify practical measurement technique.
Identical acceleration and step sizes do not make different update orders identical.
Forward Euler endpoint error is+5dt, velocity-first is−5dt and the midpoint-velocity update is exact for this constant acceleration apart from floating rounding. Negative numerical height diagnoses discretization error, not a modeled impact or physical penetration. All methods give the same final velocity here because integrating a constant acceleration is exact.
Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.
Understand
Apply
Public practice checks a specific claim. It does not establish independent mastery.
Why can final velocity pass while final position fails?
Continue
Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.
Skipping retains experiments and awards no mastery.
Save a science backup or import one
Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.
A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.
Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.
Complete file sets and course backups
A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.
The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.
0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.
Science storage: loading. No account or remote computation is required.