00:01
Answer for question 3a f x equal integration from 0 to 1 cosine x squared d x we will find the bits of the interval delta x equal b minus a by n so 1 minus 0 by 4 equal 0 .25 and then we can calculate the fx at the interval boundaries at each x we will get the value of f x at x equal 0 f x equal 1 at x equal 0 .25 f x equal 0 .998 at x equal 0 .95 at x equal 0 .95 at x equal 0 .25 sorry at x equal 0 .5 5 if x equal 0 .5 if x equal 0 .5 0 .968 at x equal 0 .75 f x equal 0 .845 at x equal 1 fx equal 0 .5 at x equal 1 fx equal 0 .54 we write the trapezoidal rule for n plus 1 terms here we will find 5 terms and fill in the numbers from the table c4 equal delta x by 2.
02:04
Multiplied by f x node plus 2 f x1 plus 2 fx2 fx2 fx2 plus 2 fx2 plus fx3 plus fx4 by direct substitution the result will be 0 .897 0 .8957 cosine x squared is concave down as an interval.
02:49
So if we draw the trapezoids, then parts of the curve will be outside them.
02:54
3 is an underestimated.
03:10
And if we draw the curve, here 1 .2 and intersection with y -axis at 1.
03:43
4 .3b, also, segregation from 0 to 1, cosine x squared, x squared, x, x, and x, and n equal 4 and also the interval weights will will be 0 .25 as part a for the midpoint rule we calculate f x using the mid points of each interval so we start at 0 .125 at x we will get value of cosine x squared at x equal 0.
04:51
To 125 cosine x squared equal 0 .999 at x equal 0 .375 value of 0 .999 at x equal 0 .625...