Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Taylor Series and Numerical Differentiation (25%) 2.1. Write the Taylor expansion approximation up to the second order term for a general function f around

image text in transcribed

2. Taylor Series and Numerical Differentiation (25\%) 2.1. Write the Taylor expansion approximation up to the second order term for a general function f around a given point a for a distance h. Write this approximation for the exponential function f(x)=ex around point a as a function of h. 2.2. Using the Taylor approximation in Part 2.1, write the expressions for the following numerical differentiation schemes: (i) forward, (ii) backward, and (iii) central difference. 2.3. Now, compute the approximations (i)-(iii) in Part 2.2 for the exponential function in Part 2.1 at the point a=1 as a function of h. For each case, create a table that shows the approximation error as a function h (use a small range for h ) and plot the results with approximation error on the y-axis and h on the x-axis. Compare the results for each case and comment on your results. 2.4. Using the Taylor expansion in Part 2.1, write an approximation for the second order derivative of a general function f around a given point a (within a distance h ). Use this expansion to show that the second order differentiation can be expressed as. f(a)h2f(a+h)2f(a)+f(ah) Write the second order differentiation for the exponential function at the point a=1 as a function of h and plot the approximation error as a function h

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Surfactant Formulation Engineering Using HLD And NAC

Authors: Edgar Acosta, Jeffrey Harwell, David A. Sabatini

1st Edition

0128214813, 978-0128214817

More Books

Students also viewed these Chemical Engineering questions