Question

5. Following an approach similar to what was performed in lecture for the first forward finite-divided-difference equation wi

0 0
Add a comment Improve this question Transcribed image text
Answer #1

We will use Taylor's series expansion of a function f at Xi with step size h.

Notation :- X(i-1)= Xi-h

X(i-2)=Xi-2h

Backward difference estimate of the first derivative f (x) with errot Oche) is: $1%) = f(x-) - 4 +(0; -) + 34();) ah Hayler s[112) – an (42) + at ful x6.) - Sub (40)*-* -A[flxs) -h f(25) + f (45) - f f (%)+ --1 + 34(:) = f(x) (1 +4+3) + h f(>:)

Add a comment
Know the answer?
Add Answer to:
5. Following an approach similar to what was performed in lecture for the first forward finite-divided-difference...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 1 15 Points) It is always desirable to have/ use the finite difference approximation wit...

    Question 1 15 Points) It is always desirable to have/ use the finite difference approximation with error term. Please using the Taylor Series: higher order of truncation sw(x) h" +R 2! 3! (I) Derive the following forward difference approximation of the 2nd orde 2) What is the order of error for this case? derivative of f(x). f" derivative off(x) h2 Question 1 15 Points) It is always desirable to have/ use the finite difference approximation with error term. Please using...

  • Calculate the first nonzero term in the Taylor series of the truncation error Tr(h) for the...

    Calculate the first nonzero term in the Taylor series of the truncation error Tr(h) for the finite difference formula defined by the second row of Table 5.2. Table 5.2. Weights for forward finite difference formulas (p 0 in (5.4.2). The values given here are for approximating the derivative at zero. See the text about the analogous backward differences where q=0. The term order of accuracy is explained in Section 5.5. Order of Node location 2h 3h 4h accuracy 1 2...

  • Question 3) (8 Marks) Derive the following a) The fifth backward difference which has error of or...

    Question 3) (8 Marks) Derive the following a) The fifth backward difference which has error of order "h" (first order accurate). b) The forward difference representation for e which has error of order h3 (third order df(x) dx accurate). Question 3) (8 Marks) Derive the following a) The fifth backward difference which has error of order "h" (first order accurate). b) The forward difference representation for e which has error of order h3 (third order df(x) dx accurate).

  • Compute forward and backward difference approxi- aion 21.1 ns of O(h) and Oh), and central difference approxi- mations of 0(h2) and O(h) for the first derivative of y sin x at π/ 12. Estimate the...

    Compute forward and backward difference approxi- aion 21.1 ns of O(h) and Oh), and central difference approxi- mations of 0(h2) and O(h) for the first derivative of y sin x at π/ 12. Estimate the true percent 4 using a value of x=π/ relative error ε, for each approximation. Compute forward and backward difference approxi- aion 21.1 ns of O(h) and Oh), and central difference approxi- mations of 0(h2) and O(h) for the first derivative of y sin x at...

  • #7. [Extra Credit] is calculus wrong?! Consider f(x) = ex (a) Calculate the derivative of fx) atx...

    #7. [Extra Credit] is calculus wrong?! Consider f(x) = ex (a) Calculate the derivative of fx) atx 0 using O(h) finite difference (forward and backward) and O(h2) centered finite difference. Vary h in the following manner: 1, 101,102... 1015. (Write a MATLAB script for this purpose and call it pset5_prob7) (b) Modify your script to plot (log-log) the the true percent error in all three cases as a function of h in one plot. (c) In calculus we learned that...

  • (a) Use the following data to find the velocity and acceleration at t = 10 seconds:

    Numerical methods(a)  Use the following data to find the velocity and acceleration at t = 10 seconds:Time (s):0246810121416Position (m):00.71.83.45.16.37.38.08.4Use second-order correct (i) centered finite-difference, and (ii) backward finite-difference methods. (b)  Use the Taylor expansions for f(x +h), f(x+2h), f(x +3h) and derive the following forward finite-difference formulas for the second derivative. Write down the error term$$ f^{\prime \prime}(x) \approx \frac{-f(x+3 h)+4 f(x+2 h)-5 f(x+h)+2 f(x)}{h^{2}} $$

  • For the following set of data, calculate the derivative using the higher order finite-difference approximations for...

    For the following set of data, calculate the derivative using the higher order finite-difference approximations for each data point, as shown in Figures 21.43-21.5. Round your answers to 2 decimal places, if needed. 0 0.5 1.0 1.5 2.0 2.5 X f(x) 33 72 80 10 25 58 Using the forward finite-difference approximation: f'(0) ~ f'(0.5) Using the centered finite-difference approximation: f'(1.0) f'(1.5) Using the backward finite-difference approximation: f'(2.0) f'(2.5) 은 8

  • Use forward and backward difference approximations of O(h)

    Use forward and backward difference approximations of O(h) and a centered difference approximation of O(h2) to estimate the first derivative of the following function:f(x)=25x³-6x²+7x-88Evaluate the derivative at x=2 using a step size of h=0.25. Compare your results with the true value of the derivative. Interpret your results on the basis of the remainder term of the Taylor series expansion.

  • 11.3 Concepts: Error Order and Precision pts The following is a 5-point backward difference schem...

    Here is 11.1 for reference. I need help with 11.3 11.3 Concepts: Error Order and Precision pts The following is a 5-point backward difference scheme, over equally-spaced x, for df/dx at xx 25/,-48f-+36f-2-16-3+34 12 Ar Write out Taylor Series expressions for each of the four fa, f f fto the SIXTH derivative, like you did in 11.1, and then combine them using the difference scheme above to a) Calculate the discretization error order (i.e. write the erro(Ax) for some integer...

  • Differentiate the following function: f(x) = ex -2x +1

    MatlabMECE 2350 Numerical Methods Lab 8.1. Differentiate the following function: f(x) = ex -2x +1 and solve its first derivative atx = 8 2. Numerically evaluate the approximated first derivative from the above function at x = 8 and h = 0.15 by the following: (a) Forward finite difference method (b) Backward finite difference method (c) Centered finite difference method 3. Calculate the error of each method by comparing the numerical derivative with the result from problem 1.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT