Question

7. Given the following: X 1.0 1.2 1.4 1.6 1.8 f(x) 1.1 0.9283 0.8972 0.9015 0.9422...

7. Given the following: 

x1.01.21.41.61.82.0
f(x)1.10.92830.89720.90150.94221.1

(a) Compute first derivative using forward, backward and two-step finite difference approximations at x=1.4, and (b) calculate the second derivative at x = 1.6 using finite differences.

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

Add a comment
Know the answer?
Add Answer to:
7. Given the following: X 1.0 1.2 1.4 1.6 1.8 f(x) 1.1 0.9283 0.8972 0.9015 0.9422...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Please help me answer this question using matlab Consider the function f(x) x3 2x4 on the...

    Please help me answer this question using matlab Consider the function f(x) x3 2x4 on the interval [-2, 2] with h 0.25. Use the forward, backward, and centered finite difference approximations for the first and second derivatives so as to graphically illustrate which approximation is most accurate. Graph all three first-derivative finite difference approximations along with the theoretical, and do the same for the second derivative as well

  • 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

  • 4. For f(x) = e-* and h = 0.10 where, C = 1.** a) Use centered...

    4. For f(x) = e-* and h = 0.10 where, C = 1.** a) Use centered approximations to estimate the first and second derivatives of f(x) at x = 2. Use the east accurate formulas available. (10 pts) b) Using the most acurate forward and backward difference formulas, estimate the first derivative of f(x) at x 2. (10 pts) Forward Difference First Derivative 7.) - SD Error OM or) = -1.) + 40..) - 3 ) 2h Second Derivative 'w...

  • 3. For f(x) = e-x and h = 0.6

    3. For f(x) = e-x and h = 0.6 a) Use forward and backward difference approximations to estimate the second derivatives of f(x) at x = 2. Use the least accurate formulas available.b) Using the most accurate centered difference formula, estimate the second derivative of f(x) at x=2. 

  • 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.

  • MATLAB 1) Calculate the following for the function f(x) = e-4x- 2x3

    #use MATLAB script1)  Calculate the following for the function f(x) = e-4x- 2x3 a. Calculate the derivative of the function by hand. Write a MATLAB function that calculates the derivative 05. of this function and calculate the derivative at x = 0.5. b. Develop an M- to evaluate the cetered finite-difference approximation (use equation below), at x = 0.5. Assume that h = 0.1. c. Repeat part (b) for the second-order forward and backward differences. Again Assume that h = 0.1. d. Using the results...

  • #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...

  • 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.

  • Section A Q1 0 Using the following Taylor series expansion: f(x+h) = f(x)+hf'(x)+22 h 3! f"(x)+...

    Section A Q1 0 Using the following Taylor series expansion: f(x+h) = f(x)+hf'(x)+22 h 3! f"(x)+ (+0) (1.1) 4! show that the central finite difference formula for the first derivative can be written as: f'(x)= f(x+h)-f(x-1) + ch" +0(hº) (1.2) 2h Determine cp and of the derived equation. [4 marks] Consider the function: f(x) = sin +COS (1.3) 2 2 Let x =ih with n=0.25, give your answer in 3 decimals for (ii) to (vi): (ii) Evaluate f(x) for i...

  • (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}} $$

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