Problem 1 Consider the problem of computing the derivative f0(x) using the finite difference approximation
Execute the script rdifmwe1 and examine output in detail:
- Determine the value of k where the computed value of Richardson’s fraction has executed an illegal jump.
- Determine the range of k values for which the computed value of Richardson’s fraction convergences monotonically to 2p for a suitable value of p.
- Determine the range of k values for which the computed value of Richardson’s fraction converges to 2p at the correct rate.
- Determine the range of k values where the error estimates become more and more accurate.
- How is the behavior of Richardson’s fraction related to the quality of Richardson’s error estimate?
Problem 2 Copy rdifmwe1.m into /work/l5p2.m and adapt it to the problem of computing f0(2) where f(x) = ex sin(x)
Do not include the derivative when you call rdif.
- Verify that the computed value of Richardson’s fraction appears to converge towards 2p for a suitable value of p as h tends to zero.
- Find the last value of k, where the computed value of Richardson’s fraction behaved exactly as predicted for the exact value of Richardson’s fraction.
- Include the exact derivative when you call rdif. Find the value of k where the accuracy of Richardson’s error estimate is maximal.
- How is the behavior of Richardson’s fraction related to the quality of Richardson’s error estimate?
Problem 3 Consider the problem of computing the derivative f0(x) using the finite difference approximation
Execute the script rdifmwe2 and examine output in detail:
- Determine the value of k where the computed value of Richardson’s fraction has executed an illegal jump.
- Determine the range of k values for which the computed value of Richardson’s fraction convergences monotonically to 2p for a suitable value of p.
- Determine the range of k values for which the computed value of RichRichardson’s fraction converges to 2p at the correct rate.
- Determine the range of k values where the error estimates become more and more accurate.
- Is the behavior of Richardson’s fraction related to the quality of Richardson’s error estimate?
Problem 4 Copy rdifmwe2.m into /work/l5p4.m and adapt it to the problem of computing f0(2) where f(x) = ex sin(x).
Do not include the derivative when you call rdif initially.
- Verify that the computed value of Richardson’s fraction appears to converge towards 2p for a suitable value of p as h tends to zero.
- Find the last value of k, where the computed value of Richardson’s fraction behaved exactly as predicted for the exact value of Richardson’s fraction.
- Include the exact derivative when you call rdif. Find the value of k where the accuracy of Richardson’s error estimate is maximal.
- Is the behavior of Richardson’s fraction related to the quality of Richardson’s error estimate?
Reviews
There are no reviews yet.