A function machine is an elementary math tool used to find an output by applying a rule, like addition or subtraction, to an input. Children use the diagram to understand the relationship between each input and output, with this worksheet helping them to analyze the machine and find the rule being used.