CL 244 - Module - 1
CL 244 - Module - 1
Analysis
Sarika Mehra
Email: [email protected]
Sources of Approximations
• Modeling.
• Truncation or discretization.
• Rounding. Numerical
error
Sources of Approximations
Significant Figures
estimated.
the car ?
Chapra et al.
0.0000145, 0.000145
Error Types
Error Types
Error Types
Computational Error
arithmetic.
8
CL244: Introduction to numerical analysis
Error Types
Floating-Point Representation
Floating-Point Representation
magnitude.
12
CL244: Introduction to numerical analysis
11
analysis
Round-off Errors
Machine Precision/Epsilon/Unit
Round-off
Alternate definitions:
Try
1-3*(4/3-1)
14
CL244: Introduction to numerical analysis
Machine Precision/Epsilon/Unit
Round-off
1-3*(4/3-1) = 2 * 10-16
15
CL244: Introduction to numerical analysis
11
analysis
16
analysis
16
analysis
Floating-Point Representation
b=2
Floating-Point Representation
b=2
Not stored
1038
11
CL244: Introduction to numerical analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis
16
analysis