Question: Write python functions from scratch to solve system of linear equations using following iterative methods: a) Jacobi's Iterative Method b) Gauss Seidel Method c) Successive

 Write python functions from scratch to solve system of linear equations

Write python functions from scratch to solve system of linear equations using following iterative methods: a) Jacobi's Iterative Method b) Gauss Seidel Method c) Successive Over Relaxation Method Your implementation should be general to handle any number of equations and any number of variables. Check your implementation on the following test problem: 2.412x+9.879y+1.564z=4.891.876x+2.985y11.62z=0.97212.214x+2.367y+3.672z=7.814 Compare the number of iterations required until convergence using above methods (use error tolerance of 105 ). Also draw the convergence plot for each method

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!