Practice question · Select all that apply
Select every legitimate way to validate a numerical result.
Hints
- A validation must compare the output with something known independently.
- Two options check only that the program behaved politely.
Show the answer
- A. Refine the grid and confirm the answer converges
- B. Compare with an exact solution in a special case
- C. Check that a conserved quantity stays constant
Why
Exact special cases, conserved quantities and grid convergence each test the answer against something external. Not crashing and looking smooth are properties of the run and the picture, and a confidently wrong computation satisfies both.
Practise Scientific Computing in Practice
The app has 5 more questions on this lesson, and keeps your place in the course. Mathematics I is free to start.
More questions on Scientific Computing in Practice
- Order the stages of the scientific computing workflow.
- A three-dimensional simulation halves its grid spacing in all three directions and also halves its time step.…
- A second-order scheme has an error of 0.08 on the current grid. Refining the grid by a factor of 2 changes…
- If halving the step size leaves the answer essentially unchanged, the answer is correct.
- A simulation reproduces the experimental data closely. Why is that weaker evidence of correctness than it…
- Sort each claim by whether the computation described actually justifies it.
- A simulation can produce plausible-looking output while being completely wrong. What distinguishes…