The function that associates the day of measurement with the plant's length can be written as a set of ordered pairs:
{(1, 0.5), (4, 1.5), (5, 1.7), (8, 2)}
Where the first number in each pair represents the day of measurement, and the second number represents the height of the plant on that day.