Which of the following expressions best represents an approximation of ∫abf(x)dx based on a partition a=x0<x1<⋯<xn=b with non-uniform subinterval widths Δxi=xi−xi−1 and sample points ci∈[xi−1,xi] for i=1,2,…,n?
a) i=1∑nf(xi−1)Δxi
b) i=1∑nf(ci)Δxi
c) i=1∑n(f(xi−1)+f(xi))Δxi
d) i=1∑nf(ci)nb−a