Move along a straight segment between fixed endpoints. Input is percentage of the full trip, with one coordinate recorded. At progress (%) = 0, x-coordinate = -4. For each unit increase in progress (%), the change in x-coordinate is 0.2. Predict x-coordinate at progress (%) = 60.
Worked solution
- Choose the rule, with t as a fraction
- Why it appliesInternal division takes the same fraction of each coordinate change. Percent progress divides by 100 to give that fraction.
- Work it outStart from the intercept and add the accumulated change: -4 + (0.2) × 60.
- Resultx-coordinate is 8.