Diagnose numerical overshoot in a stable physical model
Compare discretization error and stability against an exact same-time solution.
Learning outcome: Compare step ratios.5,1,1.5 and 2.5; retain recurrence multiplier and final time. Independently halve dt and double step count at one fixed final time.
Starting recap
Resolve recipient-specific forces, integrate the stated model and test its domain and constraints.
All lessons are open directly. Your saved experiments remain when you leave and return.
Try
For dt/tau=.5 and four steps, Euler gives 3.75 m/s at 4 s; exact 4(1−e⁻²)≈3.45866.
Open the experimentPredict
If a computed velocity oscillates around terminal speed, must the physical object oscillate?
Experiment
Compare step ratios.5,1,1.5 and 2.5; retain recurrence multiplier and final time. Independently halve dt and double step count at one fixed final time.
Distinguish numerical overshoot from physical dynamics
Worked teaching model · synthetic values · Original dv/dt=(4−v)/2 in SI units, v 0=0,tau 2 s. Forward Euler uses selected fixed dt, compared with exact exponential at the identical final time. Large steps intentionally expose numerical instability, not physical speed reversal.
Reset keeps your prediction, captures and practice history.
Euler sequence
Axes rescale independently. Curves join sampled coordinates; a joining segment is not additional measured evidence. Read physical units rather than screen angles or apparent slopes.
Euler sequence: numerical coordinates
| time (s) | velocity (m/s) |
|---|---|
| 0 | 0 |
| 1 | 2 |
| 2 | 3 |
| 3 | 3.5 |
| 4 | 3.75 |
Exact comparison
Axes rescale independently. Curves join sampled coordinates; a joining segment is not additional measured evidence. Read physical units rather than screen angles or apparent slopes.
Exact comparison: numerical coordinates
| time (s) | velocity (m/s) |
|---|---|
| 0 | 0 |
| 0.133333 | 0.257972 |
| 0.266667 | 0.499307 |
| 0.4 | 0.725077 |
| 0.533333 | 0.936287 |
| 0.666667 | 1.13387 |
| 0.8 | 1.31872 |
| 0.933333 | 1.49164 |
| 1.06667 | 1.65342 |
| 1.2 | 1.80475 |
| 1.33333 | 1.94633 |
| 1.46667 | 2.07878 |
| 1.6 | 2.20268 |
| 1.73333 | 2.3186 |
| 1.86667 | 2.42704 |
| 2 | 2.52848 |
| 2.13333 | 2.62338 |
| 2.26667 | 2.71217 |
| 2.4 | 2.79522 |
| 2.53333 | 2.87292 |
| 2.66667 | 2.94561 |
| 2.8 | 3.01361 |
| 2.93333 | 3.07723 |
| 3.06667 | 3.13674 |
| 3.2 | 3.19241 |
| 3.33333 | 3.2445 |
| 3.46667 | 3.29322 |
| 3.6 | 3.3388 |
| 3.73333 | 3.38145 |
| 3.86667 | 3.42134 |
| 4 | 3.45866 |
| Quantity | Value | Unit |
|---|---|---|
| Time step | 1 | s |
| Compared final time | 4 | s |
| Euler final velocity | 3.75 | m/s |
| Exact final velocity | 3.45866 | m/s |
| Signed global discrepancy | 0.291341 | m/s |
| Transient multiplier per step | 0.5 | ratio |
| Asymptotically stable Euler choice | 1 | flag |
A numerical recurrence has its own stability constraint; the physical ODE remains well behaved.
Euler gives v[n+1]=v[n]+(dt/2)(4−v[n]); its transient multiplier is 1−dt/tau. Values above 1 for the ratio cause alternating overshoot; at 2 oscillations do not decay and beyond 2 they grow. Compare half steps at the same final time, not equal step counts.
Derive before checking. Retain contrasting captures and explain one assumption that could fail; calculated evidence is not actual laboratory work.
A numerical recurrence has its own stability constraint; the physical ODE remains well behaved.
Euler gives v[n+1]=v[n]+(dt/2)(4−v[n]); its transient multiplier is 1−dt/tau. Values above 1 for the ratio cause alternating overshoot; at 2 oscillations do not decay and beyond 2 they grow. Compare half steps at the same final time, not equal step counts.
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 is comparing equal step counts at different dt not a convergence test at the same physical time?
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.