Approximation error: Difference between revisions

Content deleted Content added
Line 9:
==Definition==
 
Given some (true) value ''a'' and an approximation ''b'' of ''a'', the '''absolute error''' is
 
:<math>\epsilon := |ab - ba|</math>, (sometimes also used without taking the [[absolute value]])
 
and the '''relative error''' (with sign) is
 
:<math>\eta := \frac{|ab - b|a}{|a|} </math>,
 
and the '''absolute relative error''' is
 
:<math>\eta := \frac{|b - a|}{|a|} </math>,
where the vertical bars denote the [[absolute value]].