Question: pleaseeeee solve this question as soon as possibleeee pleaseeee Chapter 7 : Solving Linear System of Equations Due Date: 2 7 0 5 ? 2

pleaseeeee solve this question as soon as possibleeee pleaseeee Chapter 7: Solving Linear System of Equations
Due Date: 2705?2024
Max. Mark: 20
Objective:
The objective of this assignment is for the learners to demonstrate that they can
Apply different numerical methods to solve linear systems.
Carry out work/assignments responsibly.
Interpret the results of the numerical methods
CILOs:
This assignment measures CILOs 2, and 6.
CILO 2: Implement numerical methods to approximate the solution of nonlinear equations and systems of equations. (This assignment focuses on solving linear systems by iterative methods) CILO 6: Write a computer program to implement the numerical algorithms to solve mathematical problems.
Instructions:
Name the assignment file as: ID_First_Name_Assignment_4(ex.20241234_Thuraya_Assignment_4).
Number the pages.
The cover page must include:
a) Your name, Student ID, and Assignment number.
b) The declaration: Hereby, I declare that I did the assignment by myself q,
Solve the problem using Matlab or Octave.
Explain your programming steps using comments.
Print the program and the result. Also, take a screenshot of the programs.
Write the references and resources you used, such as books or websites.
Note that the Safe Assign is enabled to check for originality.
This is a summative assessment, which means it will be included in your final grade as part of the 12% assignment grade.
Upload your assignment on Blackboard. You have 3 attempts to submit the assignment.
TJ
Sem II-2023/2024
Page 1
Question: [20 Marks]
Consider the following linear system
4x1+x2-x3+x4=-2
x1+4x2-x3-x4=-1
-x1-x2+5x3+x4=0
x1-x2+x3+3x4=1
a) Solve the system using Matlab/Octave rref, backslash, and the inverse commands. Call the solution x.
[4]
b) Use Matlab/Octave code to solve the system using the Jacobi method, starting with the initial value x(0)=(0,0,0,0). Call the solution xJ. Print 5 iterations.
c) Use Matlab/Octave code to solve the system using the Gauss-Seidel method, starting with the initial value (:x(0)=(0,0,0,0)}. Call the solution xGS. Print 5 iterations.
d) Use Matlab/Octave code to compute the ||x-xJ||2 and ||x-xGS||2 for the errors in the approximation.
e) Are the two numerical methods converging to the solution? Which method is better to use? Justify your answer.
3Pl
 pleaseeeee solve this question as soon as possibleeee pleaseeee Chapter 7:

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!