Quiz1 PDF
Quiz1 PDF
1. (Error and Taylor Series) Use zero- through third-order Taylor Series expansions to predict 𝑓(2)
for equation below
𝑓(𝑥) = 25𝑥 − 6𝑥 + 7𝑥 − 88
using a base point at 𝑥 = 1.
a. Write all derivatives (10 Points)
b. Compute the true percent relative error 𝜀 for each approximation. (10 Points)
c. In order to check its validity, sketch graph (cartesian coordinate) showing analytical and
numerical solutions for each approximation (10 Points)
2. (Error Propagation – Multiple Variables) Production rate for exponential decline is calculated by
𝑞=𝑞 𝑒
Calculate the rate at 𝑡 = 5 years if 𝑞 is estimated to be 830 stb/d ± 13% and the decline
exponent, 𝑎, is estimated to be 0.1 (fraction)/year ± 0.012 (fraction)/year. Indicate the relative
error in %. (20 Points)
3. (Error Propagation – Multiple Variables) Manning’s formula for a rectangular channel can be
written as
1 (𝐵𝐻) /
𝑄= 𝑆 /
𝑛 (𝐵 + 2𝐻) /
Where 𝑄 = flow (m3/s), 𝑛 = a roughness coefficient, 𝐵 = width (m), 𝐻 = depth (m), and 𝑆 =
slope. You are applying this formula to a stream where you know that the width = 20 m and the
depth = 0.3 m. Unfortunately, your know that the roughness is about 0.03 with range from 0.027
to 0.033 and the slope 0.0003 with a range 0.00027 to 0.00033. Use a first order error analysis to
determine the sensitivity of the flow prediction of these two factors. Which one should you
attempt to measure with more precision? (30 Points)
-END-
CHEAT SHEET
𝑓 (𝑥 )ℎ 𝑓 ( ) (𝑥 )ℎ 𝑓 ( ) (𝑥 )ℎ
𝑓(𝑥 ) = 𝑓(𝑥 ) + 𝑓 (𝑥 )ℎ + + + ⋯+ +𝑅
2! 3! 𝑛!
where ℎ = (𝑥 −𝑥 )
𝑓( ) (𝜉)ℎ
Remainder 𝑅 = or 𝑅 = 𝑂(ℎ )
(𝑛 + 1)!
Error Definitions ----------------------------------------------------------------------------------------------------------------------
of 𝑓(𝑥) of 𝑥
Relative error Δ𝑓(𝑥 ) 𝑓(𝑥) − 𝑓(𝑥 ) Δ𝑥 𝑥 − 𝑥
or or
𝑓(𝑥 ) 𝑓(𝑥 ) 𝑥 𝑥
𝑓(𝑥 ) − 𝑓(𝑥 )
First forward 𝑓 (𝑥 ) = + 𝑂(ℎ)
ℎ
𝑓(𝑥 ) − 𝑓(𝑥 )
First backward 𝑓 (𝑥 ) = + 𝑂(ℎ)
ℎ
𝑓(𝑥 ) − 𝑓(𝑥 )
First centered 𝑓 (𝑥 ) = − 𝑂(ℎ )
2ℎ