Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Do Problem 8 in the text, at the end of section 4.11. Make sure the M-file ha

ID: 3781797 • Letter: 1

Question

1. Do Problem 8 in the text, at the end of section 4.11. Make sure the M-file has the proper amount of comment lines, indented text, white space, etc. Also, make sure the names of the group members are in comment lines on the top of the file. In addition to the requirements listed in the problem also check for user input error. The program should also begin by displaying a header that describes the purpose of the program. 2. Using the program you created in part 1, solve Problem 1 at the end of Section 4.11 in the text. Store the data in a file named probl dat. Store the data in rows. 3. Using the program you created in part 1, solve Problem 2 at the end of Section 4.11 in the text. Store the data in a file named prob2.dat. Store the data in rows 4. Using the program you created in part 1, solve Problem 3 at the end of Section 4.11 in the text. Store the data in a file named prob3.dat. Store the data in rows. 5. Using the program you created in part 1, solve Problem 4 at the end of Section 4.11 in the text. Store the data in a file named prob4.dat. Store the data in columns. 6. Using the program you created in part 1, solve Problem 5 at the end of Section 4.11 in the text, page M- 127. Store the data in a file named prob5.dat. Store the data in columns. 7. Using the program you created in part 1, solve Problem 6 at the end of Section 4.11 in the text. Display the profit or loss for each person. Store the data in a file named prob6.dat. Store the data in columns.

Explanation / Answer

8)

a) A+B+C+D+E+F=92

A=2C

B+E=F

A+C=B+F

C+8=F

D-(E+C)=10

b)

matrix entry for A:

Matrix for X:

matrix for b:

c)

  X=A-1b

1 1 1 1 1 1 1 0 -2 0 0 0 0 1 0 0 1 -1 1 -1 1 0 0 -1 0 0 1 0 0 -1 0 0 -1 1 -1 0