EGR 103/Spring 2015/Lab 7

From PrattWiki
Jump to navigation Jump to search
  • The first four problems primarily require setting up the appropriate matrix of coefficients of your unknowns and vector of solutions, which can then be used to solve for your unknowns using left divide. In some cases the equations are already given in the right "form" - in others, you will need to get the unknowns on one side and the constant terms on the other.
  • Palm 8.5(b) will require you to run a loop that changes b based on differing values of c. You will also need to pull specific values out of the solution to the linear algebra problem - which will be a 3x1 matrix containing the \(x\), \(y\), and \(z\) values for a particular c - and store them in the right location within the x, y, and z vectors.
  • The sixth problem is similar to the first four, although you have to come up with equations.