# How do you Use the trapezoidal rule with n=6 to approximate the integral int_0^1e^-sqrt(x)dx?

Let $f \left(x\right) = {e}^{- \sqrt{x}}$.
${\int}_{0}^{1} f \left(x\right) \mathrm{dx}$
$\approx {T}_{6} = \left[f \left(\frac{0}{6}\right) + 2 f \left(\frac{1}{6}\right) + 2 f \left(\frac{2}{6}\right) + 2 f \left(\frac{3}{6}\right) + 2 f \left(\frac{4}{6}\right) + 2 f \left(\frac{5}{6}\right) + f \left(\frac{6}{6}\right)\right] \frac{1 - 0}{2 \left(6\right)} \approx 0.54$