Professional Documents
Culture Documents
1) Makemat
2) Gaussian_solver
Makemat
Gaussian solver
Program#2
LU Decomposition Solver:
2)Load the file from Makemat and solve them using UL Decomposition..
Program#3
1)Jacobi method
2)Gauss-seidel method
Jacobi method:
2) Load the file from Makemat and solve them using Jacobi method
3)display the solution normalized just means you divide the two norm by N
Gauss-seidel method:
1) Load the file from Makemat and solve them using Gauss-seidel method
2) display the solution normalized just means you divide the two norm by N
1) Load the file from Makemat and solve them using Successive Over-Relaxation (SOR) method
2) display the solution normalized just means you divide the two norm by N
Please, if you have not done so already, please display the makemat matrix A, soln and right side b to
the screen as well as the two norm and the number of iterations.
Program#4
1)Power method
2)Newton’s method
Power method:
Newton’s method:
f(x) = x − e^(-x2)
this is e to the -x squared power. you should get something around .653 for your solution.
print x, and f(x) for each iteration
Program#5
1)Bisection method
2)Euler’s method
Bisection method:
Euler’s method: