Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Advanced Chemical Engineering Mathematics

Homework 1
Due Date: 1400/09/06

1- Find the most accurate formula for the first derivative at 𝑥" utilizing known values of 𝑓 at 𝑥"$% ,
𝑥" , 𝑥"&% , and 𝑥"&% . The points are uniformly spaced. Give the leading error term and state the order
of the method.

2- A general Pade ́ type boundary scheme (at 𝑖 = 0) for the first derivative can be written as
1
𝑓+, + 𝛼𝑓%, = 𝑎𝑓+ + 𝑏𝑓% + 𝑐𝑓4 + 𝑑𝑓6

(a) Show that requiring this scheme to be at least third-order accurate would constrain the
coefficients to
11 + 2𝛼 6−𝛼 2𝛼 − 3 2−𝛼
𝑎=− , 𝑏 = , 𝑐= , 𝑑=
6 2 2 6
Which value of α would you choose and why?
(b) Find all the coefficients such that the scheme would be fourth-order accurate.

3- Use the portion of the given steam table for superheated 𝐻4 𝑂 at 200 𝑀𝑃𝑎 to (a) find the
corresponding entropy s for a specific volume 𝑣 of 0.108 𝑚6 𝑘𝑔 with linear interpolation, (b)
find the same corresponding entropy using quadratic interpolation, and (c) find the volume
corresponding to an entropy of 6.6 using inverse interpolation.
𝑣( 𝑚6 𝑘𝑔) 0.10377 0.11144 0.1254
𝑠(𝑘𝐽 𝑘𝑔 ∙ 𝐾) 6.4147 6.5453 6.7664

4- The following data defines the sea-level concentration of dissolved oxygen for fresh water as a
function of temperature:
𝑇( ℃) 0 8 16 24 32 40
𝑂(𝑚𝑔 𝐿) 14.621 11.843 9.870 8.418 7.305 6.413

Estimate 𝑂(27) using (a) linear interpolation, (b) Newton’s interpolating polynomial of order 2,
and (c) cubic splines. Note that the exact result is 7.986 𝑚𝑔/𝐿.

5- Develop, debug, and test a program to implement Newton’s interpolating polynomials.

Given the data


𝑥 1.6 2 2.5 3.2 4 4.5 5
𝑓(𝑥) 2 8 14 15 8 2 1
Calculate 𝑓(2.8) using Newton’s interpolating polynomial of order 6.

You might also like