calc question

<p>What value of n would you have to pick so that the error in approximating the area under the graph of f(x)=sinx from 0 to pi using the trapezoidal rule and Simpson's rule?</p>

<p>What do you want the error to equal?</p>

<p>There's a formula for this... ::goes and gets old calc notes::</p>

<p>Yeah, the error in using the Trapezoidal Rule is</p>

<p>E < (or equal to) (((b-a)^3)/(12n^2))*(max lf''(x)l)</p>

<p>Given f has a continuous second derivative on [a, b], and you're looking for the error in approximating Integral f(x)dx from a to b.</p>

<p>I dunno about Simpson's rule. : ) Good luck!</p>