YourLearning

Grade 6 · Algebra · Coding and Mathematical Models

Plan, Test, and Refine a Model

Coding gives precise instructions; modelling checks whether a mathematical representation still makes sense in the real situation.

The big idea

A solution improves through testing

A program can use an if/else condition to choose a transit fare, while a model checks whether its assumptions match actual riders and costs.

Work it through

Model a fare rule

  1. 1. Define the input, such as a rider's age.
  2. 2. Write a condition: if age is 12 or under, use the child fare; otherwise use the regular fare.
  3. 3. Test boundary values such as 12 and 13.
  4. 4. Compare results with the real policy and revise incomplete assumptions.