ACTIVITY 2
2.1 The set of even numbers below are given as input numbers:
2; 4; 6; 8: 10
2.1.1 What will all the output numbers be if the rule 21+ 1 is applied to the set of all input
even numbers
given above? Write a list:
(2)
2.1.2 What will all the output numbers be if the rule 2n + 5 is applied to the set of all input
even numbers given above? Write a list:
(2)

Respuesta :


2.1.1 Output with the rule 21 + 1:
* 2 + 1 = 3
* 4 + 1 = 5
* 6 + 1 = 7
* 8 + 1 = 9
* 10 + 1 = 11
Output list: [3, 5, 7, 9, 11]
2.1.2 Output with the rule 2n + 5:
* (2 * 2) + 5 = 9
* (2 * 4) + 5 = 13
* (2 * 6) + 5 = 17
* (2 * 8) + 5 = 21
* (2 * 10) + 5 = 25
Output list: [9, 13, 17, 21, 25]