Trapezoidal rule - calculate accuracy

20 Views Asked by At

I'm approximating roots of function using trapezoidal rule, with the number of subdivisions given. However, I want to figure out how accurate my calculation is (on how many decimal points it's accurate). How can I do so?

Thanks!