Question
Please code in python preferably with explanation. Thanks 2.10. Consider the linear system [ 1 1+) [1+(1+)e] (1- 1 ] La L 1 where e
Please code in python preferably with explanation. Thanks
2.10. Consider the linear system [ 1 1+) [1+(1+)e] (1- 1 ] La L 1 where e is a small parameter to be specified. The exact solution is obviously = for any value of . Use a library routine based on Gaussian elimina- tion to solve this system. Experiment with various values for e, especially values near Emach for your computer. For each value of e you try, compute an estimate of the condition number of the ma- trix and the relative error in each component of the solution. How accurately is each component determined? How does the accuracy attained for each component compare with expectations based on the condition number of the matrix and the error bounds given in Section 2.3.4? What con- clusions can you draw from this experiment?
2.10. Consider the linear system [ 1 1+) [1+(1+)e] (1- 1 ] La L 1 where e is a small parameter to be specified. The exact solution is obviously = for any value of . Use a library routine based on Gaussian elimina- tion to solve this system. Experiment with various values for e, especially values near Emach for your computer. For each value of e you try, compute an estimate of the condition number of the ma- trix and the relative error in each component of the solution. How accurately is each component determined? How does the accuracy attained for each component compare with expectations based on the condition number of the matrix and the error bounds given in Section 2.3.4? What con- clusions can you draw from this experiment? 2.10. Consider the linear system [ 1 1+) [1+(1+)e] (1- 1 ] La L 1 where e is a small parameter to be specified. The exact solution is obviously = for any value of . Use a library routine based on Gaussian elimina- tion to solve this system. Experiment with various values for e, especially values near Emach for your computer. For each value of e you try, compute an estimate of the condition number of the ma- trix and the relative error in each component of the solution. How accurately is each component determined? How does the accuracy attained for each component compare with expectations based on the condition number of the matrix and the error bounds given in Section 2.3.4? What con- clusions can you draw from this experiment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started