Use the table to answer the question.

x y
0 3
1 3 1/2
2 4
3 4 1/2
Which of the following equations describes the function in the table using function notation?
A. f(x) = 3x + 1/2
B. f(x) = 1/2x + 3
C. f(y) = 3x + 1/2
D. f(y) = 1/2x + 3

The correct equation that describes the function in the table using function notation is:

D. f(y) = 1/2x + 3