Which of the following shows a function
(0, - 4) (2, 7) (0, 4) (1, 9) (3, 7)
x-values
-5
-3
y = 2x + 3
y-values
(xy)
y = 2(- 5) + 3
-7
(- 5, - 7)
y = 2(- 3) + 3
-3
(- 3, - 3)
0
y = 2(0) + 3
3
(0, 3)
1
y = 2(1) + 3
5
(1, 5)
2
y = 2(2) + 3
7
(2,7)
4
y = 2(4) + 3
11
(4,11)
Input
2
4
3
Output
20
30
40
The correct answer is the following:
Output
30
40
20
This is because the function is given by y = 2x + 3, so when x = 2, y = 2(2) + 3 = 7. And when x = 4, y = 2(4) + 3 = 11.