3. S(n) means Square(number). It relates the number you rolled and the square at you end up.
The possible n values are: 1, 2, 3, 4, 5, 6
If you begin on square 1, the output values are:
S(1) = 2
S(2) = 2 (when you land on 3 you move back 1 space)
S(3) = 8 (when you land on 4 you move forward 4 spaces)
S(4) = 5
S(5) = 6
S(6) = 8 (when you land on 7 you move forward 1 space)
The mapping diagram is:
4. The domain of a function is the set of all possible inputs for the function.
The domain of S(n) is 1, 2, 3, 4, 5, 6
5. The range of a function is the set of all possible outputs for the function.
The range of S(n) after the first roll is 2, 5, 6, 8