Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 22 of 24

Build a numerical result another person can audit

Combine method choice, independent references, error budgets and implementation evidence.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

A numerical answer is a conclusion supported by a chain: a mathematical model, an algorithm, an implementation, a stopping rule and an error interpretation. Failure at any link can invalidate the digits. A reproducible report should let another person reconstruct that chain. Begin with a concrete question such as approximating a root to absolute error 10⁻⁶, fitting a noisy linear model, or integrating an ODE to a stated final time.

Predict

Predict whether printing twelve digits means twelve accurate digits. The output format does not measure conditioning, approximation error or arithmetic error. Likewise two agreeing programs may share the same formula or bug. Independent evidence changes the representation or mechanism: compare a polynomial quadrature case with an exact integral, a linear ODE with its closed recurrence and continuous solution, or a linear solve with both residual and condition information.

Experiment

Use this evidence map to avoid substituting one check for another.

EvidenceWhat it supportsWhat it does not establish alone
Small residualNearby equation satisfactionSmall forward error
Refinement ratioObserved asymptotic behaviorUniversal convergence theorem
Exact test caseCorrect behavior on that caseAll-input correctness
Theorem with checked hypothesesA class-level guaranteeCorrect implementation

Choose one method from this unit and fill in an actual example for every row.

Understand

When an error expansion Q_h=Q+Ch^p+o(h^p) holds with C≠0, successive-grid differences have ratio approaching 2^p. With an independent exact Q, observed order is log₂(|Q_h−Q|/|Q_(h/2)−Q|). Without Q, use three-grid differences, but recognize shared bias and cancellation. A plateau may indicate rounding, reference error or a failed smoothness assumption rather than the formal order being false. Certified absolute bounds can be added through the triangle inequality; estimated errors should not be relabeled certified merely because their sum is small. State units and norms so contributions are comparable.

Apply

Method selection follows structure. A valid sign bracket favors bisection or a safeguarded hybrid. Smooth local root information can justify Newton. Noisy data often favor least squares over exact interpolation; QR or SVD expose different rank and conditioning issues. Smooth integrands support high-order quadrature, while singular features may require transformed variables or interval splitting. Stiff ODEs may need implicit methods despite their solve cost. A method’s order, stability region and work per step answer different questions. Compare methods at a meaningful resource budget and include rejected steps, derivative evaluations, factorizations and reused solves in accounting.

Continue

For a cumulative implementation project, supply runnable code separately from this written lesson, fixed reproducible inputs, independent reference calculations, exact edge-case tests and a failure report. Include at least one case where the preferred method should refuse or qualify an answer. This unit covers core numerical mechanisms and selected proofs; full production-library engineering, advanced sparse/Krylov algorithms, PDE discretization and a complete derivation of high-order Runge–Kutta conditions remain further work. Completed reading or a filled report does not establish implementation proficiency without reviewing the code, tests and reasoning.

Review calculus and linear algebra when a prerequisite needs practice. Return to the numerical analysis unit to choose a targeted retry.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

Errors on meshes h,h/2,h/4 are 1/10,1/40,1/160. What observed order log₂(E_h/E_(h/2)) results?

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

Certified absolute error contributions are 1/200,1/500 and 1/1000. Find their sum.

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

Without an exact answer, explain how three-grid differences can estimate order and state a limitation.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Choose a root solver when a continuous sign bracket is known but derivatives are unreliable.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Choose a strategy for noisy overdetermined linear data with nearly dependent columns.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Design an independent implementation study comparing two methods on both a smooth and a difficult case.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.