School/✦ Research Engineer/Week 9
Term assessment: reporting a computational study
Your figures are beautiful. Could a stranger regenerate every one of them, and would they agree with your conclusion?
About 50 min · 3 goals · Checked by automated tests
1.Why should I care?
This term assessment brings everything together. A computational result is only as good as its report: the reader must see what was assumed, how the numbers were checked and what they do not show. Reproducibility is part of the result, not an extra.
- ◇ Structure a short technical report: question, model and assumptions, method, verification, results, limitations.
- ◇ Present numerical results with their convergence evidence and sensitivity.
- ◇ State conclusions that follow from the evidence without over-claiming.
2.Predict
Which conclusion is best supported by a study of one two-mass model at three step sizes?
Guess first. Being wrong here is how the surprise works.
3.Understand
Report structure
Question (one sentence). Model: equations, parameters, assumptions, stated as a simplified model. Method: analytic modes, integrators, step sizes, metrics, the pre-committed decision rule. Verification: convergence table and observed orders. Results: figures and tables with captions that stand alone. Limitations: what the study does not show. Reproducibility: how to regenerate every figure.
Figures that carry evidence
Every figure needs labelled axes with units, a legend that does not rely on colour alone, the parameters in the caption, and a one-sentence take-away. Log–log axes for error against h make orders visible as slopes. Show the analytic reference wherever there is one.
Honest conclusions
State results with their conditions ('for h ≤ 0.1 s and t ≤ 200 s'). Report deviations from the plan. Distinguish verified (converged), sensitive (parameter-dependent) and unvalidated (never compared with a real device). A clear limitation section increases trust; it never weakens a sound result.
Explain it another way
Write the report so that someone who disagrees with you could rerun the study and either agree or show exactly where you went wrong.
Reproducibility means fixed versions, a single script per figure, recorded parameters and random seeds (if any), and outputs regenerated from raw data rather than edited by hand.
Simulation reports that support engineering decisions are routinely reviewed for exactly these points: assumptions, verification evidence and stated limits of applicability.
Worked example 1
Rewrite: 'RK4 is perfect and Euler is useless.'
'On the undamped two-mass model (m₁ = m₂ = 1 kg, k = 1 N/m, k_c = 0.2 N/m), with h = 0.1 s over 200 s, RK4 reproduced both natural frequencies within [measured error] and lost [measured fraction] of its energy; explicit Euler's energy grew by a factor of [measured factor]; semi-implicit Euler's energy stayed within [measured band]. Conclusions apply to this model and step range.' Fill each bracket from your own convergence table, never from memory.
Common mix-ups
- Limitations make a report look weak.
✓ They make it trustworthy, and show the author understood the scope of the evidence. - Reproducible means 'the code is somewhere'.
✓ It means another person can regenerate every figure and number from documented steps.
4.Discover
Use the oscillator energy plot and convergence table as a model figure for your report. Choose h and duration so the figure makes one point clearly, then write its caption: what it shows, the parameters, and what the reader should conclude.
Loading the interactive…
Can't use the interactive? Read a description instead
The integrator diagram shows energy against time for three methods with the exact energy marked, plus a convergence table; all values are also given in text. It is used here as an example figure for writing a caption and a conclusion.
5.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
Which sentence over-claims?
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
What must a good figure caption include?
Practice 3 · a fresh version every time
With step h, the midpoint method (global order 2) gives a global error of 0.0032. Predict the error with step h/4.
Practice 4 · a fresh version every time
Two equal masses m = 1 kg sit between walls: wall–k–m–k_c–m–k–wall with k = 8 N/m and coupling k_c = 6 N/m. What is the lower natural frequency ω, in rad/s?
Practice 5
Which practice best supports reproducibility?
Practice 6 · a fresh version every time
For dy/dt = 1y with y(0) = 2, take one classical RK4 step with h = 0.5. What is y₁? (4 decimal places.)
7.Apply it
Submit the term project report (see the project brief): modal derivation, simulation code with a convergence study, a comparison of analytic modes with simulated motion, and a limitations section. Every figure must be regenerated by a documented script.
8.Reflect
Concepts: Reproducibility and documentation · Numerical integration of ODEs: Euler, RK4 and stiffness · Mathematical modelling and validation