Linear Models
{{ s.desc1 }}
{{ s.b }} {{ s.unitY }}.
{{ s.desc2 }}
{{ s.m }} {{ s.unitY }}
per {{ s.unitX }}.
Step 1: The Initial Value
Set the starting amount ().
Target: {{ s.b }}
{{ Math.floor(step1.val) }}
Step 2: The Rate of Change
Add the rate () for each passing {{ s.unitX }}.
Initial
{{ s.b }}
+ {{ s.m }}
{{ s.unitX }}s Passed ()
{{ step2.taps }}
Tap {{ 4 - step2.taps }} more times
Step 3: Build the Model
Construct the equation:
y =
{{ step3.slots.m.value }}
Rate (m)
x
+
{{ step3.slots.b.value }}
Initial (b)
Drag to build
startDrag(e, item)"
class="w-24 h-16 bg-white shadow-md border-2 border-indigo-100 rounded-xl flex items-center justify-center text-2xl font-bold text-indigo-600 cursor-grab active:cursor-grabbing hover:border-indigo-300 hover:shadow-lg transition-shadow"
:class="{ 'opacity-0': drag.item && drag.item.id === item.id || isItemUsed(item.id) }"
>
{{ item.value }}
Step 4: Make a Prediction
Use your model to predict the total at {{ s.targetX }} {{ s.unitX }}s.
Your Model
Calculation
y = {{ s.m }}({{ step4.x }}) + {{ s.b }}
y = {{ s.m * step4.x }} + {{ s.b }}
y = {{ (s.m * step4.x) + s.b }}
0 {{ s.unitX }}s
Target: {{ s.targetX }}
{{ Math.floor(s.targetX * 1.5) }} {{ s.unitX }}s
Slide to predict
Prediction found!
Masterful Modeling!
You correctly identified the initial value () and rate of change (), built the linear equation, and used it to predict the future!
Final Model