Name 2 2 compute approximate derivatives of f x at x

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
error since there is no previous approximation).
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
NAME 2 2. Compute approximate derivatives of f ( x ) at x = 1 by the forward difference, backward difference, and centered difference methods with a step size of h = 0 . 1. Compare to the true derivative at x = 1 and compute the true absolute error in the approximation. Explain this in terms of the O () of the theoretical error in the three cases. Solution We have f (1) = - 6 f ( . 9) = - 4 . 872 f (1 . 1) = - 7 . 068 f (1) = - 11 The three approximations are ˆ f F (1) = ( - 7 . 068) - ( - 6) 0 . 1 = - 10 . 68 , | E t | = 0 . 32 ˆ f B (1) = ( - 6) - ( - 4 . 872) 0 . 1 = - 11 . 28 , | E t | = 0 . 28 ˆ f C (1) = ( - 7 . 068) - ( - 4 . 872) 0 . 2 = - 10 . 98 , | E t | = 0 . 02 The centered difference quotient, which has error O ( h 2 ), has a much smaller true error than the forward and backward difference quotients, which have O ( h ) error.
Image of page 2
NAME 3 3. Verify by the signs of the function values that a root of f ( x ) lies between 0.2 and 0.7. Perform three iterations of the bisection algorithm to obtain an approximate answer. What is the estimated absolute error in each case? If the true root is 0.5, what is the true absolute error? Solution Here are the iterates. Note that the first two are of opposite signs as required: f (0 . 2) = 3 . 696 f (0 . 7) = - 2 . 484 f (0 . 45) = 0 . 62475 , E t = 0 . 05 , E a = 0 . 25 f (0 . 575) = - 0 . 9366 , E t = 0 . 075 , E a = 0 . 125 f (0 . 5125) = - 0 . 15625 , E t = 0 . 0125 , E a = 0 . 0625
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
NAME 4 4. Using the same starting interval of 0.2 to 0.7, perform two iterations of the false position algorithm (use 6 significant figures). What are the estimated and true absolute errors at the second iteration?
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern