title: Error of midpoint, trapezoidal and simpson rule in matlab
body: <p>I'm writing a script to numerically find the integral using these three methods. Right now I can compute the right value for the integral, but I need also to print the error and the  upper analytical bound of it. I have no idea how to do that in matlab. From the formulas I need to find the maximal value of f'' and f'''', but I dont know ho to do that. Can someone help me?</p>
  
  <p>Thank you</p>