This preview shows pages 1–7. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: 05/01/11 http://numericalmethods.eng.usf.edu 1 Measuring Errors Major: All Engineering Majors Authors: Autar Kaw, Luke Snyder http://numericalmethods.eng.usf.edu Transforming Numerical Methods Education for STEM Undergraduates Measuring Errors http://numericalmethods.eng.usf.edu http://numericalmethods.eng.usf.edu 3 Why measure errors? 1) To determine the accuracy of numerical results. 2) To develop stopping criteria for iterative algorithms. http://numericalmethods.eng.usf.edu 4 True Error Defined as the difference between the true value in a calculation and the approximate value found using a numerical method etc. True Error = True Value Approximate Value http://numericalmethods.eng.usf.edu 5 ExampleTrue Error The derivative, ) ( x f of a function ) ( x f can be approximated by the equation, h x f h x f x f ) ( ) ( ) ( ' + If x e x f 5 . 7 ) ( = an d 3 . = h a) Find the approximate value of ) 2 ( ' f b) True value of ) 2 ( ' f c) True error for part (a) http://numericalmethods.eng.usf.edu 6 Example (cont.) Solution: a) For 2 = x and 3 . = h 3 . ) 2 ( ) 3 . 2 ( ) 2 ( ' f f f + 3 ....
View Full
Document
 Spring '07
 Gallivan

Click to edit the document details