Truncation Error
Truncation Error
Zero-order Approximation:
The value of f at the new point is the same as at the value
at old point
f(xi+1) f(xi)
If xi & xi+1 are close together, than f(xi) & f(xi+1) will be close together
1st Order Approximation:
where,
Rn=
.(i)
(n +1)!
Generally, the nth order Taylor series expansion will be exact for the
nth order polynomial. For example: if a polynomials order is 5, then 5th
order expansion will yield exact result & truncation error will be zero.
Rn= O(hn+1)
Rn @ O(hn+1)
h=Step size
This means that the truncation error is proportional to the step size h
raised to the (n+1)th order
For example: if the error is