🎯 Today a My Block is a function machine: x goes in, y comes out. Then you use math to read its rule.
1 See It
📐 US Common Core math (CCSS-M) 6.EE.C.9 · 6.EE.A.2
| x | y = 3 × x + 2 |
|---|---|
| 0 | 2 |
| 1 | 5 |
| 2 | 8 |
| 3 | 11 |
| 4 | 14 |
The rule is a machine. ⚙️ An x goes in. The machine works out y = 3 × x + 2. Each pair (x, y) is one row of the table and one point on the graph.
2 Use the Tool
🎛️ Change one thing, watch the stage
The My Block rule is the machine. The loop puts in x = 0, 1, 2, 3 and 4, and the Ball marks each point: 40 steps right for each 1 in x, 5 steps up for each 1 in y. Drag the sliders to change the rule, then press ▶.
when flag clicked erase all pen up set [times v] to (2) set [plus v] to (1) set [x v] to (0) set pen size to (10) repeat (5) rule (x) ::custom change [x v] by (1) end
define rule (n) set [y v] to (((times) * (n)) + (plus)) go to x: ((n) * (40)) y: ((y) * (5)) pen down change y by (1) pen up say (join (join (n) [, ]) (y)) for (0.5) seconds
👉 Drag a slider — the number in the code changes too.
✋ Your tasks
- Keep times = 2. Change plus from 1 to 6. What happens to every point?
- Now keep plus the same and change times. What happens to the gaps between the points?
- Find a rule where the first point is (0, 4) and each next point is 2 higher.
3 Explain
| x | y = 2 × x + 1 |
|---|---|
| 0 | 1 |
| 1 | 3 |
| 2 | 5 |
| 3 | 7 |
4 Answer with Math
🙈 Use math, not the stage. Think it, then choose.
set [times v] to (4) set [plus v] to (3) rule (5) ::custom
define rule (n) set [y v] to (((times) * (n)) + (plus))
In math: 4 × 5 + 3 = ?
| x | y |
|---|---|
| 0 | 5 |
| 1 | 7 |
| 2 | 9 |
| 3 | 11 |
In math: x goes up by 1 → y goes up by 2 · at x = 0, y = 5
In math: (0, 1) · (1, 4) · (2, 7) · (3, 10)
5 New Numbers
🔁 Same picture, new numbers
set [times v] to (2) set [plus v] to (1) rule (3) ::custom
define rule (n) set [y v] to (((times) * (n)) + (plus))
In math: 2 × 3 + 1 = ?
Teacher Guide
📋 Before class
⚠️ Common misconceptions
- Students add before they multiply: in 4 × 5 + 3 they work out 4 × 8.
- Students read the start of a table as the step: from 5, 7, 9 they write y = 5 × x.
- Students think the bigger number must be the independent variable.
🎯 Differentiation
🐢 Struggling: Fill the table by hand first: put x = 0, 1, 2 into the rule, one at a time, before running the tool.
🚀 Advanced: Ask for two different rules that both give the point (2, 8), then check each one with the tool.
💡 During the lesson
- Standards
US Common Core math (CCSS-M): 6.EE.C.9 · 6.EE.A.2 · Practices: MP2 · MP7 · MP8
- During the lab
x is the independent variable: we choose it. y is the dependent variable: the rule makes it from x (6.EE.C.9). In 3 × x + 2, the 3 is the coefficient of x and the 2 is a constant term (6.EE.A.2).
- During the lab
The stage starts on the rule 2 × x + 1, which is not in any question, so running it never answers them. Ask students to say each run as "times x, plus".
- During the lab
This is the heart of 6.EE.C.9. Students who pick A judge by size; students who pick C see the link but not its direction.
- During the lab
Q1 evaluates an expression at a value (6.EE.A.2). Q2 and Q3 go from a table and from a graph back to the rule (6.EE.C.9). In Q2 and Q3, the wrong options swap the step and the start — check them against one row.
- During the lab
No score here. After three misses the card shows the worked line. Students who get stuck can say it out loud: "times x first, then plus".