2. f(x) = sin(2x) + x², you are only given the following data x f(x) -0.1 0 0.1 0.2 -0.1887 0 0.2087 0.4294 (2-point) Forward-Difference 3-point midpoint 3-point forward endpoint 3-point backward endpoint f'(x) = f'(x) = f'(x) = f'(x) = f(x +h)-f(x) h f(x+h)-f(xh) 2h -3f(x) + 4f(x+h)-f(x + 2h) 2h 3f(x)-4f(xh) + f(x-2h) 2h (a) Use the two-point forward difference formula to approximate f'(0.1). Compare your actual error with the error bound. (b) Use the most accurate three-point formula to find f'(-0.1), f'(o), and f'(0.2). Also compare your actual errors with the error bounds. (c) For parts (a) and (b), do you observe the actual error is ≤ error bound for each case? Explain why "actual error>error bound" may happen, and how to solve the issue?

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
2. f(x) = sin(2x) +x², you are only given the following data
x f(x)
-0.1
0
0.1
0.2
-0.1887
0
0.2087
0.4294
(2-point) Forward-Difference
3-point midpoint
3-point forward
endpoint
3-point backward
endpoint
f'(x) =
f'(x) =
f'(x) =
f'(x) =
f(x +h)-f(x)
h
f(x+h)-f(xh)
2h
-3f(x) + 4f(x+h)-f(x + 2h)
2h
3f (x) - 4f(xh) + f(x-2h)
2h
(a) Use the two-point forward difference formula to approximate ƒ'(0.1). Compare your actual
error with the error bound.
(b) Use the most accurate three-point formula to find ƒ'(-0.1), ƒ'( 0), and ƒ'(0.2). Also
compare your actual errors with the error bounds.
(c) For parts (a) and (b), do you observe the actual error is ≤ error bound for each case?
Explain why "actual error>error bound” may happen, and how to solve the issue?
Transcribed Image Text:2. f(x) = sin(2x) +x², you are only given the following data x f(x) -0.1 0 0.1 0.2 -0.1887 0 0.2087 0.4294 (2-point) Forward-Difference 3-point midpoint 3-point forward endpoint 3-point backward endpoint f'(x) = f'(x) = f'(x) = f'(x) = f(x +h)-f(x) h f(x+h)-f(xh) 2h -3f(x) + 4f(x+h)-f(x + 2h) 2h 3f (x) - 4f(xh) + f(x-2h) 2h (a) Use the two-point forward difference formula to approximate ƒ'(0.1). Compare your actual error with the error bound. (b) Use the most accurate three-point formula to find ƒ'(-0.1), ƒ'( 0), and ƒ'(0.2). Also compare your actual errors with the error bounds. (c) For parts (a) and (b), do you observe the actual error is ≤ error bound for each case? Explain why "actual error>error bound” may happen, and how to solve the issue?
Expert Solution
Step 1

Advanced Math homework question answer, step 1, image 1

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,