Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2.85 We want to explore the accuracy of MATLAB's solution to the following set of equations .31 21.ri 6 3 3 10 for values of
2.85 We want to explore the accuracy of MATLAB's solution to the following set of equations .31 21.ri 6 3 3 10 for values of e from 10- to 1o 15. For this problem, you are allowed to use the slash command to solve the system of equations and the cond function to compute the condition number. Write a MATLAB function that computes the condition number and the relative error in the value of as a function of e. The error in should be computed by the formula where is the value obtained in MATLAB and f is the exact solution for " that you obtained by solving this system by hand using Gauss elimination. Your program should make (i) a log-log plot of the condition number versus epsilon and (it) a log-log plot of the relative error versus the condition number
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