Linear Algebra Questions(require MatLab knowledge)
ENGR 231 – Linear Engineering Systems
Lab 3: Summer 2016
Your Name: _______________________ Indicate Section: 61 or 62.
As a convenience, this answer template is provided if you wish to easily submit your work. Be sure to save it as a PDF before submitting online! Only one submission is allowed.
|
System of Equations #1: |
|
|
Question 1: Paste your code using sprintf and size here.
Question 2: Paste your reduced matrix named RAM here.
Solution: RAM =
Question 3: Paste your code to find the pivot column for row 2 here.
ANSWER:
Question 4: Write the solutions
Question 4:
The basic variables are:
The free variable is:
The solutions can be written:
Questions 5-6: 3D-Plot of the solutions:
Use the title command to add the title: 'The solution line'
Use xlabel, ylabel and zlabel to label the three axes 'x', 'y' and 'z'.
Replace the given plot below with your own showing the added title and axes labels.
Questions 7-8: Test Points: The four test points lie on a square. Add them to the 3d-plot and connect them with a green line to form a closed square. Then test if each is a solution.
Replace the given graph with your completed graph showing all four test points using green or red dots to specify whether they are solutions or not.
Questions 9 – 10: Repeat all the previous steps but change the original system slightly.
Notice the coefficients of are all now –1 instead of +1.
|
System of Equations #2: |
|
|
Paste in your completed graph for system #2 below.
When your lab is complete, be sure to submit it as a PDF by the due date – this Thursday before 11:59PM. You have one more day, to submit the lab (but with a small penalty), and then the window closes for good and your grade will be zero. Only one submission is allowed per student.
1