Numerical Sample Problem, Exercises of Numerical Methods in Engineering

Sample Problems for Numerical Solutions

Typology: Exercises

2024/2025

Uploaded on 10/13/2025

mo-mo-41
mo-mo-41 ๐Ÿ‡ต๐Ÿ‡ญ

1 document

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Prepared by:
Engr. Gilmark P. Repulda
SAMPLE PROBLEMS III
Numerical Solutions to Civil Engineering Problems
1 | P a g e
CENUMES 313
Civil Engineering
Gaussian Elimination Method
In Exercises 1-2, solve the system of linear equations by each of the methods
shown.
a. Gaussian elimination with back-substitution
b. Gauss-Jordan elimination
c. Cramerโ€™s Rule
1. 3๐‘ฅ1+ 3๐‘ฅ2+ 5๐‘ฅ3=1
3๐‘ฅ1+ 5๐‘ฅ2+ 9๐‘ฅ3=2
5๐‘ฅ1+ 9๐‘ฅ2โˆ’17๐‘ฅ3=4 2. 2๐‘ฅ1+ ๐‘ฅ2+ 2๐‘ฅ3=6
โˆ’๐‘ฅ1+ 2๐‘ฅ2โˆ’ 3๐‘ฅ3=0
3๐‘ฅ1+ 2๐‘ฅ2โˆ’ ๐‘ฅ3=6
In Exercises 3-4, find the adjoint of the matrix.
3. [0 1
โˆ’2 1] 4. [1 โˆ’1 1
0 1 2
0 0 โˆ’1]
5. Use linear equations to find the parabola ๐‘ฆ=๐‘Ž๐‘ฅ2+๐‘๐‘ฅ+๐‘ that passes through the
points (โˆ’1,2),(0,1), and (2,6).
In Exercises 6 and 7, use the LU-factorization of the coefficient matrix to solve
the linear system.
6. ๐‘ฅ โฌš +๐‘ง =3
2๐‘ฅ +๐‘ฆ +2๐‘ง =7
3๐‘ฅ +2๐‘ฆ +6๐‘ง =8 7. 2๐‘ฅ1+๐‘ฅ2+๐‘ฅ3โˆ’๐‘ฅ4=7
โฌš 3๐‘ฅ2+๐‘ฅ3โˆ’๐‘ฅ4=โˆ’3
โฌš โฌš โˆ’2๐‘ฅ3โฌš =2
2๐‘ฅ1+๐‘ฅ2+๐‘ฅ3โˆ’2๐‘ฅ4=8
7. Find values of the constants A, B, C, and D that make the following equation
an identity (i.e., true for all values of x).
3๐‘ฅ3+4๐‘ฅ2โˆ’6๐‘ฅ
(๐‘ฅ2+2๐‘ฅ+2)(๐‘ฅ2โˆ’1)=๐ด๐‘ฅ+๐ต
(๐‘ฅ2+2๐‘ฅ+2)+๐ถ
๐‘ฅโˆ’1+๐ท
๐‘ฅ+1
[Hint: Obtain a common denominator on the right, and then equate corresponding
coefficients of the various powers of ๐‘ฅ in the two numerators. Students of
calculus will recognize this as a problem in partial fractions.]
8. Find the inverse of
[1
2(๐‘’๐‘ฅ+๐‘’โˆ’๐‘ฅ)1
2(๐‘’๐‘ฅโˆ’๐‘’โˆ’๐‘ฅ)
1
2(๐‘’๐‘ฅโˆ’๐‘’โˆ’๐‘ฅ)1
2(๐‘’๐‘ฅ+๐‘’โˆ’๐‘ฅ)]
pf3
pf4

Partial preview of the text

Download Numerical Sample Problem and more Exercises Numerical Methods in Engineering in PDF only on Docsity!

Prepared by:

SAMPLE PROBLEMS III

Numerical Solutions to Civil Engineering Problems

1 | P a g e

Civil Engineering

Gaussian Elimination Method

In Exercises 1-2, solve the system of linear equations by each of the methods

shown.

a. Gaussian elimination with back-substitution

b. Gauss-Jordan elimination

c. Cramerโ€™s Rule

1

2

3

1

2

3

1

2

3

1

2

3

1

2

3

1

2

3

In Exercises 3-4, find the adjoint of the matrix.

3. [

] 4. [

]

  1. Use linear equations to find the parabola ๐‘ฆ = ๐‘Ž๐‘ฅ

2

  • ๐‘๐‘ฅ + ๐‘ that passes through the

points

, and

In Exercises 6 and 7, use the LU-factorization of the coefficient matrix to solve

the linear system.

1

2

3

4

2

3

4

3

1

2

3

4

  1. Find values of the constants A, B, C, and D that make the following equation

an identity (i.e., true for all values of x).

3

2

2

2

2

[ Hint: Obtain a common denominator on the right, and then equate corresponding

coefficients of the various powers of ๐‘ฅ in the two numerators. Students of

calculus will recognize this as a problem in partial fractions.]

  1. Find the inverse of

[

๐‘ฅ

โˆ’๐‘ฅ

๐‘ฅ

โˆ’๐‘ฅ

๐‘ฅ

โˆ’๐‘ฅ

๐‘ฅ

โˆ’๐‘ฅ

]

Prepared by:

SAMPLE PROBLEMS III

Numerical Solutions to Civil Engineering Problems

2 | P a g e

Civil Engineering

  1. The upward velocity of a rocket is given at three different times in Table

below.

Velocity vs time data

Time, ๐‘ก(๐‘ ) Velocity, ๐‘ฃ(๐‘š/๐‘ )

The velocity data is approximated by a polynomial as

1

2

2

3

Find the values of ๐‘Ž

1

2

, and ๐‘Ž

3

using the Gauss Elimination method. Find the

velocity at ๐‘ก = 6 , 7. 5 , 9 , 11 seconds.

  1. Use Gaussian Elimination to solve

1

2

3

1

2

3

1

2

3

  1. A rental car company charges a flat daily fee plus a charge for each mile

driven. A car rented for 5 days and driven for 300 miles costs 178 Php, while a

car rented for 4 days and driven for 500 miles costs 197 Php. Find the daily fee

and the charge for each mile driven. Use Matrix-inverse Method.

  1. The Softflow Yogurt Company makes three yogurt blends: LimeOrange, using 2

quarts of lime yogurt and 2 quarts of orange yogurt per gallon; LimeLemon, using

3 quarts of lime yogurt and 1 quart of lemon yogurt per gallon; and OrangeLemon,

using 3 quarts of orange yogurt and 1 quart of lemon yogurt per gallon. Each day

the company has 800 quarts of lime yogurt, 650 quarts of orange yogurt, and 350

quarts of lemon yogurt available. How many gallons of each blend should the

company make each day if it wants to use up all of the supplies? Use Matrix-

inverse method.

  1. If ๐ด = [

cos ฮธ sin ฮธ

โˆ’ sin ฮธ cos ฮธ

] and ๐ด

โˆ’ 1

๐‘‡

, find the value of ฮธ.

  1. Find ๐‘ฅ, ๐‘ฆ, and ๐‘ง if ๐ด = [

] satisfies ๐ด

๐‘‡

โˆ’ 1

Prepared by:

SAMPLE PROBLEMS III

Numerical Solutions to Civil Engineering Problems

4 | P a g e

Civil Engineering