Question: Consider the matrix A = 1 2 3 4 5 6 7 8 9 , b = 6 1 5 2 4 Note that the
Consider the matrix
A
b
Note that the true solution ie the x so that b Ax is x T
You can assemble this matrix as follows:
import numpy as np
A np arange astype float reshape
a Solve this linear system by hand ie find the general solution, and find a particular solution.
b Solve this linear system on a computer. Compute condition number estimate, and up
per bound for the error. What do you observe? Depending on where you do this
calculation, you will not get what I expected. For the time being skip this
part, and continue on to c
c Now replace the matrix by
A
What do you observe now?
doptional What happens as you vary the exponent of the perturbation iep for
p in Consider integer steps. Explain what you observe
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
