00:01
For this problem, we are asked to use the error formulas to find n such that the error in the approximation of the definite integral of x cubed from 0 to 1 is less than 0 .001 using the trapezoidal rule and simpson's rule.
00:13
So we have the error formulas right here.
00:16
What we want to solve for n such that that error formula, i'm going to write the max or max value of the functions as just m.
00:29
But we want to solve for n such that the value of this error, this upper bound on the error, is equal to the desired value.
00:37
So i have just sort of generified versions of everything here where d is the desired value.
00:43
We can isolate n squared by multiplying both sides by n squared, dividing by d.
00:50
So we'll have d minus a times m over 12d n squared equals, or excuse, me no longer an n squared there equals n squared which then means that n is going to equal would be plus or minus the square root but n can only meaningfully have positive values here but square root of b minus a excuse me that should be b minus a cubed over 12d b minus a cubed times m over 12b now we have our function cubed, so our first m is going to be the maximum value of the second derivative...