Beruflich Dokumente
Kultur Dokumente
model equation
Data: Errors in measurement or estimation of raw data Numerical Method: Errors based on some
approximation
Implicit Error: Errors of the original numbers or factors Accumulated Error: Total cumulative error at any given
step or iteration
Subtracting a number from another nearly equal number may result in loss of significance or cancellation error.
1 - cos(0.05) = 1-0.99875 1.00x100 - 0.999x100 1.00x10-3
Representing a function as an infinite series of terms involving simpler functions Taylor series: where z is between a and x +1
= + 1! + 2!
2
+ +
( ) +
+ 1 !
( )+1
() = + ()
()
For the number 5/3 = 1.66666 determine the magnitude of round-off error when it is represented by a number obtained from the decimal form by: 1. Chopping to 3S 2. Chopping to 3D 3. Rounding to 3S 4. Rounding to 3D Evaluate the following operations as accurately as possible, including all errors 1. 8.24 + 5.33 2. 124.53 124.52 3. 4.27 x 3.13 4. 9.48 x 0.513 6.72 5. 0.25 x 2.84 0.64 6. 1.73 2.16 +0.08 + 1.00 -2.23 -0.97 +3.02
Modify the previous assignment using a Taylor series approximation about a = 0 for cos and sin. Choose where to truncate the series and compare the results with those from your previous program using the intrinsic functions. How big are the discrepancies?