The two points, one at the beginning and one at the end, are added solely for plotting purposes. Without adding the two points for plotting, the plotted function will not be correct. The two added points are outside the function interval. The function itself still has the correct number of points.
Best Answer