<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sample_function(self, f, N):
 """ Sample a function on N+1 Chebyshev points. """

        x = self.interpolation_points(N+1)
        return f(x)