The total mass of a variable density rod is given by m=\int_{0}^{L} \rho(x) A_{c}(x) d x where m = mass, p(x) = density, A,(x) cross-sectionalarea, and x= distance along the

rod. The following data hasbeen measured for a 10-m length rod: Determine the mass in grams to the best possible accuracylimiting yourself to trapezoidal rule and Simpson's 1/3 and3/8 rules.

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5