Jump to content

Science:Math Exam Resources/Courses/MATH101/April 2017/Question 04 (b)/Solution 1

From UBC Wiki

Using the information given above all we need to find is K and replace the values of a=0,b=π,n=6 in the formula for the error K(ba)324n2, as the difference between the 2 numbers will, at most, be the error.

Thus we must first find the 2nd derivative of f(x)=xsinx:

f(x)=sinx+xcosx

f(x)=cosx+cosxxsinx.

We must now bound the derivative. Using the inequatility |x+y||x|+|y|, we have:

|2cosxxsinx|2|cosx|+|x||sinx|. Furthermore we know that |cosx|1, |sinx|1 and, in our domain, |x|π, which makes us conclude that |f(x)|π+2 on [0,π]. (Note that this does not necessarily mean the maximum of |f(x)| is π+2. The value π+2 is only an upper bound; other bounds are possible.)

Thus the difference is given by (π+2)(π0)324(6)2

Answer: (π+2)π324(6)2 (note that this is only one possible answer; see the note above)