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

Pekerjaan Rumah #3

Sitem Persamman Linear


TPM-444 Metoda Numerik
Dikumpulkan tgl 10 Mei 2023, melalui email sutopo@itb.ac.id
Bekerja sendiri. Kecurangan akan berakibat terhadap nilai ujian/PR =0
1. (a) Write the following set of equations in matrix form:
40 = 5𝑥3 + 2𝑥1
10 − 𝑥2 = 𝑥3
3𝑥3 + 8𝑥1 = 20
(b) Write the transpose of the matrix of coefficients.

2. Given the system of equations.


0.77𝑥1 + 𝑥2 = 14.25
1.2𝑥1 + 1.7𝑥2 = 20
(a) Solve graphically and check your results by substituting them back into the
equations.
(b) Based on the graphical solution, what do you expect regarding the condition of the
system?
(c) Compute the determinant.
(d) Solve by the elimination of unknowns.

3. Given the equations.


10𝑥1 + 2𝑥2 − 𝑥3 = 27
−3𝑥1 − 6𝑥2 + 2𝑥3 = −61.5
𝑥1 + 𝑥2 + 5𝑥3 = −21.5
(a) Solve by naive Gauss elimination. Show all steps of the computation.
(b) Substitute your results into the original equations to check your answers.

4. Given the equations.


2𝑥1 − 6𝑥2 − 𝑥3 = −38
−3𝑥1 − 𝑥2 + 7𝑥3 = −34
−8𝑥1 + 𝑥2 − 2𝑥3 = −20

(a) Solve by Gauss elimination with partial pivoting. Show all steps of the
computation.
(b) Substitute your results into the original equations to check your answers.

5. Use Gauss-Jordan elimination to solve:


2𝑥1 + 𝑥2 − 𝑥3 = 1
5𝑥1 + 2𝑥2 + 2𝑥3 = −4
3𝑥1 + 𝑥2 + 𝑥3 = 5

Do not employ pivoting. Check your answers by substituting them into the original
equations.

6. Solve:
𝑥1 + 𝑥2 − 𝑥3 = −3
6𝑥1 + 2𝑥2 + 2𝑥3 = 2
−3𝑥1 + 4𝑥2 + 𝑥3 = 1
with (a) naive Gauss elimination, (b) Gauss elimination with partial pivoting, and (c)
Gauss-Jordan without partial pivoting.

7. (a) Solve the following system of equations by LU decomposition without pivoting


𝑥1 + 7𝑥2 − 4𝑥3 = −51
4𝑥1 − 4𝑥2 + 9𝑥3 = 62
12𝑥1 − 𝑥2 + 3𝑥3 = 8

(b) Determine the matrix inverse. Check your results by verifying that [A][A]−1 = [I].

8. Solve the following system of equations using LU decomposition with partial pivoting:
2𝑥1 − 6𝑥2 − 3𝑥3 = −38
−3𝑥1 − 2𝑥2 + 7𝑥3 = −34
−18𝑥1 + 𝑥2 − 2𝑥3 = −20

9. Solve the following system of equations using LU decomposition with partial pivoting:
2𝑥1 − 6𝑥2 − 𝑥3 = −38
−3𝑥1 − 𝑥2 + 7𝑥3 = −34
−8𝑥1 + 𝑥2 − 2𝑥3 = −20

10. Use the Gauss-Seidel method (a) without relaxation and (b) with relaxation (λ = 1.2) to
solve the following system to a tolerance of εs = 5%. If necessary, rearrange the
equations to achieve convergence.
2𝑥1 − 6𝑥2 − 𝑥3 = −38
−3𝑥1 − 𝑥2 + 7𝑥3 = −34
−8𝑥1 + 𝑥2 − 2𝑥3 = −20

11. Figure P12.6 shows three reactors linked by pipes. As indicated, the rate of transfer of
chemicals through each pipe is equal to a flow rate (Q, with units of cubic meters per
second) multiplied by the concentration of the reactor from which the flow originates
(c, with units of milligrams per cubic meter). If the system is at a steady state, the
transfer into each reactor will balance the transfer out. Develop mass-balance equations
for the reactors and solve the three simultaneous linear algebraic equations for their
concentrations.

You might also like