Murray,
"Moreover, you are plotting the values of f[x] against {1, 2, 3,4,5}; surely it makes much more sense to plot them against the values of x themselves, which is what I do."
EXACTLY! And also your graph . . .
(Next, I’m going to show the interpretation of f[x] as the area of the corresponding region under the graph of
g(t)=cost
. First for a fixed value of x. )
actually is the sine curve expected.
Something to work with anyway . . .thanks