Problem 1:
Below is the first problem where I solved a linear systems of equations.
Matrix left division is said to be faster than and more accurate than matrix inverse so the problem was to use both techniques and time them using the tic toc command.
From the comparison I can see that while the answers were the same it took only a third of the time to compute using the left division method.
Problem 2:
Given that there is a separation process in which a stream of a mixture of 3 components enters a process unit and then two streams exit the unit with varying amounts of the three components.
The above equation is the basic format that will use to make 3 equations, 1 for each component. These will then form a system of equations which convert to form a matrix equation in the form of the following:
A*X=B
which is described further in the image below.
Problem 3:
Seeing as I missed the class that covered this I did not do too bad but was unable to complete the third and final problem in this assignment.... for now.