Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

will then perform checks to determine whether to use the Gauss - Seidel or Gauss - Jordan method to solve the system. Your code will

will then perform checks to determine whether to use the Gauss-Seidel or Gauss-Jordan method to solve the system. Your code will then solve the system and return the values of xu. You may use third-party code for the Gauss-Seidel and Gauss-Jordan routines but you must cite the source of your code; comment it fully; write pseudocode for it and provide the appropriate data flow diagrams (visio). It is standard industry practice to reuse good code routines for complex mathematical operations.
The following list of steps may help you:
1 Ask user to input a matrix
Check if the matrix is square - if not exit with message
If yes - check for diagonal dominance (as a function preferably)
> If yes- Gauss-Seidel
If no-Check or positive-definitenessIf no-Gauss-Jordan> Output values of x_(",")> EndSubmit exactly 6 files:
A detailed visio data flow diagram (pdh) for each section (you detormino how to divide up your data flow into smaller sections)
An overarching simplified visio data flow diagram (pdi)
Pseudocode with real equations (pdI)(DO NOT USE AN ONLINE TOOL FOR THIS, NO MARKS WILL BE AWARDED FOR AUTOMATICALLY GENERATED PSEUDOCODE)
Fully commented code. This applies to all code whether or not you have written it (pdi)
Your sample outputs (pdn)
Your original matlab file (.m file)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started