Algorithm control in numerical integration
Key knowledgeUnderstand how ordered operations, branches and loops control technological algorithms and simulations.
Build the idea
An implemented algorithm relies on correctly ordered instructions, decisions and repetition. Initialisation establishes a valid starting state; branches choose the next action; a stopping rule connects the process to an accuracy target. Trace several steps before trusting a full run, and record a limit or error condition so a failed calculation does not silently continue.
Try the sample task
Implement a trapezium-rule algorithm for ∫₀²x e(−x)dx with n=4. State the initialisation, repeated operation, parameter check and final calculation.
The full worksheet includes the worked solution and remaining task set.
What this activity covers
Focused tool-neutral investigation using a calculus model and selected sampling tasks. Students must execute and record their own tool results; expected values here are derived mathematically. The activity does not exhaust every technology function in the outcome.