Do we weight each sample evenly (just add f(x) for each sample and divide by the number of samples), or do we do something more complicated like evaluate the trapezoid/rectangle method on the samples?
Do we weight each sample evenly (just add f(x) for each sample and divide by the number of samples), or do we do something more complicated like evaluate the trapezoid/rectangle method on the samples?