Test his machines. Do you think he is right?
Be sure to test negative numbers. What happens for negative numbers?
Mark wants to get his machines patented but has to prove that the set of machines will always do what he says it will, at least for positive numbers. Show Mark how to prove that his machines work for positive numbers by dropping in a variable (for example, n) and writing out each step the machines must take.
Why do the negative numbers come out positive?
Test his machines multiple times with different numbers.
Again, test several different numbers.
machine 1: (n) + 2
output 1: n + 2
machine 2: (n + 2)2 − 4(n + 2)
output 2: n2 − 4
Look at the steps that the variable went through in part (c). Pay careful attention to what happens when it passes through the third machine.
Use the eTool below to test the machine.
Click the link at right for the full version of the eTool: A2C 7-26 HW eTool