Numerical hw2
Numerical hw2
Homework #1
Due: April 11, 2024
Iterative methods
Write your own code called hw2 that finds the solution for the given linear algebraic equation.
- Put any other subfunctions, if any, in a single file entitled hw2.m, and submit your code only.
- You need to modify the code provided below to improve the stability and convergence.
- Extensions get extra credits. For example, efficiency, rich outputs, etc.
- Your code will be evaluated with three trial (A, b) sets including ill-conditioned cases.