### Home > A2C > Chapter 7 > Lesson 7.1.2 > Problem 7-26

Mark claims to have created a sequence of three function machines that always gives him the same number he started with.

Test his machines. Do you think he is right?

Test his machines multiple times with different numbers.

Be sure to test negative numbers. What happens for negative numbers?

Again, test several different 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.Input:

machine 1:

output 1:

machine 2:

output 2:Why do the negative numbers come out positive?

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: *7-26 HW eTool*