Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given that A = [ - 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0
Given that A ; ; ; ; ; ; ; ; ; ; ; ; ; ;
and
B ; ; ; ; ; ; ; ; ; ; ; ; ; ;
Where Ax B :
write a MATLAB, userdefined function that will solve the set of equations using the Gauss Seidel method. Compare how this performs against the results generated using MATLAB's inbuilt functions.
Test your MATLAB code to study the range of possible solutions, ie solutions for which realistic solutions are possible for example, negative flowrates can be solutions, but are not possible
Try and expand your MATLAB code to develop a code that would handle a more complicate Flowsheet balance each unknown in the balance represents an unknown ffrom a process flow diagram ie edit amount of inputs, unknowns etcarbitrary number of reactions for example, or additional units of equipment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started