Day 7 — What you're building today
You'll write your bot's decay equation in slope-intercept form and calculate two specific times: where the math line flattens at 20% (the power-budget floor) and where the mathematical line crosses P = 0 (the true x-intercept). Both become marked points on your graph in Section 3.
From Formula to Equation
Your P(t) formula is already linear — let's write it in slope-intercept form.
Higher Endurance does NOT mean more decay. The subtraction (20 − E) flips it: a bigger E makes the decay rate smaller.
That's backwards.
Makes sense.
Rule: Higher E → smaller (20−E) → smaller decay rate → longer survival.
Two different floors — don't mix them up
P(t) is your power budget (a %), and the math line holds at 20%. But your bot's wheels also have a hard minimum speed, set by your SPEED stat. Because that minimum is higher than 20% of your motor power, your wheels bottom out — and the lights turn red — earlier than the 20% mark. So the 20% point is where the math line flattens, not the moment your bot first feels slow.
This is already a linear equationLinear equationAn equation that makes a straight line when graphed. Power goes down at a steady rate — no curves.. You've seen them in math class written as y = mx + b. Let's rewrite P(t) in that exact form — same equation, different look.
-
1P(t) = 100 − (20 − E) × 1.5 × tStart with the original formula. Notice: 100 is at the front, and the variable term (with t) is at the end.
-
2P(t) = −[(20 − E) × 1.5] × t + 100Group the coefficientCoefficientThe number multiplied by a variable. In 3x, the coefficient is 3. Here, everything multiplied by t is the coefficient.: the term being multiplied by t is negative. We flip the subtraction into a negative slopeSlope (m)How steep the line is. Negative slope = line goes down. Here it means power decreases over time., and move the constant +100 to the end.
-
3y = m · x + bMatch to y = mx + b: m = −(20 − E) × 1.5 (the slope), b = 100 (the y-intercept).
y = P(t) and x = t.
Two Times on Your Graph
Your equation has two important moments: when the game locks power at 20%, and where the line mathematically hits zero. You'll calculate both — and they are not the same number.
Look at this graph before reading anything.
One point happens in the game. One point only exists mathematically. Which comes first?
Your Personalized Equation
Build your decay equation from your stat card and reflect on what it means.
The values above are auto-filled from your E. Confirm by typing a brief explanation:
Hint: m = −(20 − 2) × 1.5 = −27. Floor time: solve P = 20. X-intercept: solve P = 0. They are different numbers.