Function Machine
About this tool
The class sends numbers into a machine that applies a hidden rule, watches the answer come out and builds an input-output table. To guess the rule they type it as an expression in x; it is accepted when it gives the same results on many inputs, so 2(x + 3) is right for 2x + 6. Rules are one step, two steps or, optionally, squares and halves, with negatives and decimals as options. Reverse mode shows an output and asks for the input. You can type your own rule, and Reveal shows the rule in symbols and words. The animation is skipped for students who prefer reduced motion.
Classroom ideas
- Fill the table with five inputs and ask the class to describe the pattern in words before any rule is typed.
- Switch to reverse mode to practise inverse operations: given the output, which number went in?
- Type your own rule such as 3x − 4 and let teams test inputs to find it with as few tries as possible.
Related tools
- Tower of HanoiMove 3 to 8 discs between three pegs, count moves against 2ⁿ−1 and watch an optimal auto-solve.
- Sudoku GeneratorGenerate 4x4, 6x6 and 9x9 sudokus with one solution at four levels; play on screen or print sheets.
- Estimation JarA jar fills with a random number of objects; teams estimate, then watch them lined up in tens and hundreds.
- Mental Math ChainStart with 6, double it, add 8, halve it… one step at a time, then reveal the answer and the whole chain.
- Number SequencesFind the next two terms and the rule: arithmetic, geometric, squares, triangular, Fibonacci-type and two-step.
- Compare NumbersWhich is greater: 3/4, 0.7 or 72%? Compare whole numbers, decimals, fractions and percents.