Ch 6.1 - P 7E

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Solved: In the previous exercise, all infected individuals rema... | Chegg.comhttps://www.chegg.com/homework-help/Numerical-Analysis-10th-editi...

Chapter 6.1, Problem 7E 1 Bookmark Show all steps:

Problem

Use Algorithm 6.1 and Maple with := 10 to solve the following linear systems.

Reference: Algorithm 6.1

Step-by-step solution

Step 1 of 57

a. Consider the system of equations

The objective of the problem is to use the algorithm for the Gaussian elimination of backward
substitution and Maple with to solve the system.

First apply the Maple technology as shown below. First access the library using
the command

Then define the matrix using the command

This lists the entries, by row, of the augmented matrix.

Comment

Step 2 of 57

The sequences of operations are as follows. The function row operation


performs the operation and the function row

operation performs the operation .

Comment

Step 3 of 57

Continue the calculation as follows:

This final operation gives the solution of the linear system as

Comment

Step 4 of 57

Hence the rounded off solution of the linear system is


.

Comment

Step 5 of 57

Now use the algorithm for the Gaussian elimination of backward substitution to solve the given
system. First write the augmented matrix as

Now apply the Gaussian elimination to the matrix. The first element is and its associated

multiplier is

Comment

Step 6 of 57

Now use the row operations and to produce the matrix

Comment

Step 7 of 57

Comment

Step 8 of 57

Now the second element is and its associated multiplier is

Comment

Step 9 of 57

Comment

Step 10 of 57

Again use the row operation to produce the matrix

Comment

Step 11 of 57

Now the process can be halted and writing the equations for the system gives

Comment

Step 12 of 57

Comment

Step 13 of 57

The last equation implies . Now substitute the value of in the

equation implies

Finally substituting the value of and in the equation gives

Comment

Step 14 of 57

Hence the rounded off solution of the linear system is .

Comment

Step 15 of 57

b. Consider the system of equations

The objective of the problem is to use the algorithm for the Gaussian elimination of backward
substitution and Maple with to solve the system.

Apply the Maple technology as shown below. First access the library using the
command

Then define the matrix using the command

This lists the entries, by row, of the augmented matrix.

Comment

Step 16 of 57

The sequences of operations are as follows. The function row operation


performs the operation and the function row

operation performs the operation .

Comment

Step 17 of 57

Continue the calculation as follows:

This final operation gives the solution of the linear system as

Hence the rounded off solution of the linear system is


.

Comment

Step 18 of 57

Now use the algorithm for the Gaussian elimination of backward substitution to solve the given
system. First write the augmented matrix as

Now apply the Gaussian elimination to the matrix. The first element is and its
associated multiplier is

Comment

Step 19 of 57

Now use the row operations and to produce the


matrix

Comment

Step 20 of 57

Comment

Step 21 of 57

Now the second element is and its associated multiplier is

Comment

Step 22 of 57

Comment

Step 23 of 57

1 of 4 7/11/2019, 4:28 PM
Solved: In the previous exercise, all infected individuals rema... | Chegg.comhttps://www.chegg.com/homework-help/Numerical-Analysis-10th-editi...

Comment

Step 24 of 57

Now the process can be halted and writing the equations for the system gives

Comment

Step 25 of 57

Comment

Step 26 of 57

The last equation implies . Now substitute the value of in the


equation implies

Finally substituting the value of and in the equation


gives

Hence the rounded off solution of the linear system is .

Comment

Step 27 of 57

c. Consider the system of equations

The objective of the problem is to use the algorithm for the Gaussian elimination of backward
substitution and Maple with to solve the system.

Apply the Maple technology as shown below. First access the library using the
command

Then define the matrix using the command

Comment

Step 28 of 57

This lists the entries, by row, of the augmented matrix.

Comment

Step 29 of 57

The sequences of operations are as follows. The function row operation


performs the operation and the function row

operation performs the operation .

Comment

Step 30 of 57

Continue the calculation as follows:

Set the entry in the third row of the second column to zero using the command

Comment

Step 31 of 57

Set the entry in the last row of the third column to zero using the command

This final operation gives the solution of the linear system as

Hence the rounded off solution of the linear system is


.

Comment

Step 32 of 57

Now use the algorithm for the Gaussian elimination of backward substitution to solve the given
system. First write the augmented matrix as

Now apply the Gaussian elimination to the matrix. The first element is , so use the row

operations , and to produce the matrix

Comment

Step 33 of 57

Comment

Step 34 of 57

Now the second element is and its associated multiplier is

Comment

Step 35 of 57

Comment

Step 36 of 57

Again use the operations and to produce the matrix

Comment

Step 37 of 57

Now the third element is and its associated multiplier is

Comment

Step 38 of 57

Comment

Step 39 of 57

Use the row operation to produce the matrix

Comment

Step 40 of 57

Now the process can be halted and writing the equations for the system gives

Comment

Step 41 of 57

Comment

Step 42 of 57

The last equation implies . Now substitute the value of in the

equation implies

Now substituting the value of and in the equation gives

Finally substituting the values of and in the equation gives

Hence the solution of the linear system is .

Comment

Step 43 of 57

d. Consider the system of equations

The objective of the problem is to use the algorithm for the Gaussian elimination of backward
substitution and Maple with to solve the system.

Apply the Maple technology as shown below. First access the library using the
command

Then define the matrix using the command

Comment

Step 44 of 57

This lists the entries, by row, of the augmented matrix.

Comment

Step 45 of 57

The sequences of operations are as follows. The function row operation


performs the operation and the function row

operation performs the operation .

2 of 4 7/11/2019, 4:28 PM
Solved: In the previous exercise, all infected individuals rema... | Chegg.comhttps://www.chegg.com/homework-help/Numerical-Analysis-10th-editi...

Step 46 of 57

Continue the calculation as follows:

Comment

Step 47 of 57

Comment

Step 48 of 57

This final operation gives the solution of the linear system as

Hence the rounded off solution of the linear system is


.

Comment

Step 49 of 57

Now use the algorithm for the Gaussian elimination of backward substitution to solve the given
system. First write the augmented matrix as

Now apply the Gaussian elimination to the matrix. Make the first element , so use the row
operations followed by the operations , and
to produce the matrix

Comment

Step 50 of 57

Comment

Step 51 of 57

Now the second element is , so use the row operations ,


and to produce the matrix

Comment

Step 52 of 57

Comment

Step 53 of 57

Now the third element is and its associated multiplier is

Comment

Step 54 of 57

Now use the row operations and to produce the matrix

Comment

Step 55 of 57

Finally the fourth element is and its associated multiplier is

Now use the row operation to produce the matrix

Now the process can be halted and writing the equations for the system gives

Comment

Step 56 of 57

The last equation implies . Now substitute the value of in the

equation implies

Now substituting the value of and in the equation gives

Comment

Step 57 of 57

Now substituting the value of and in the equation gives

Finally substituting the values of and in the equation gives

Hence the solution of the linear system is

Comment

Was this solution helpful?

3 of 4 7/11/2019, 4:28 PM
Solved: In the previous exercise, all infected individuals rema... | Chegg.comhttps://www.chegg.com/homework-help/Numerical-Analysis-10th-editi...

4 of 4 7/11/2019, 4:28 PM

You might also like