document.write( "Question 1140897: Consider the integral 2 1[19 - 4x dt.
\n" ); document.write( "(a) Using the trapezoidal rule with 4 subintervals, estimate the integral numerically.
\n" ); document.write( "(b) Find the integral exactly (using calculus and showing the working) and compare
\n" ); document.write( "this with your numerical result by calculating the absolute value of the error.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #761531 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "I read this as the integral from 1 to 2 of (19-4x). [(dx..., not dt)]

\n" ); document.write( "The interval 1 to 2 with 4 subintervals means the x values of the endpoints of the intervals are 1, 1.25, 1.5, 1.75, and 2.

\n" ); document.write( "The function values at those endpoints are 15, 14, 13, 12, and 11.

\n" ); document.write( "The integral by the trapezoidal rule is

\n" ); document.write( "

\n" ); document.write( "The indefinite integral of the function using calculus is

\n" ); document.write( "\"19x-2x%5E2\"

\n" ); document.write( "The definite integral for the interval 1 to 2 is

\n" ); document.write( "

\n" ); document.write( "The \"estimate\" using the trapezoidal rule is exactly the same as the result using calculus. This is as it should be, because the given function is linear. For any linear function, the trapezoidal rule will give the exact integral.
\n" ); document.write( "
\n" );