Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

ENCV3MS: Assignment 1:

1. Determining fluid flow through pipes and tubes has great relevance in many areas of engineering and science. The
resistance to flow in such conduits is parameterized by a dimensionless number called the friction factor. For
turbulent flow, the Colebrook equation provides a means to calculate the friction factor,

In the present case study, we will illustrate how the numerical methods covered in this part of the book can be
employed to determine f for air flow through a smooth, thin tube. For this case, the parameters are ρ=1.23kg/m 3,
μ=1.79 × 10–5 N.s/m2, D = 0.005 m, V = 40 m/s and ε = 0.0015 mm. Note that friction factors range from about
0.008 to 0.08. In addition, an explicit formulation called the Swamee-Jain equation provides an approximate
estimate,

Solve Colebrook equation to estimate friction factor for the above data using (a) Bisection (b) False position (c)
Newton-Raphson (d) and graphical method. Compare your answers with result from Swamee-Jain equation.

2. Given the equations


2x1 − 6x2 − x3 = −38
− 3x1 − x2 + 7x3 = −34
− 8x1 + x2 − 2x3 = −20
Solve using (a) Gauss Elimination method (b) Cramer’s rule (c) LU Decomposition method (d) Matrix inversion
method (hand calc/excel).
3. Write a brief Self-study research on Gauss-Seidel method and its use for solving Banded matrix.
4. Determine flows in the pipes which connect the reservoirs as shown in Figure using Matrix method. All pipes are
250mm diameter steel pipes. Assume friction factor f = 0.015

5. Consider the following function:


f(x) = -x4 -2x3 -8x2 -5x
a. Use graphical method to show the function has a maximum for some value of x in the range -2≤x≤1.
b. Employ the following methods to find the maximum of the above function:
i. Golden-section search (xl =-2, xu = 1, εa= 1%).
ii. Parabolic interpolation (x0 = -2, x1 = -1, x2 = 1, iterations= 4).
iii. Newton’s method (x0 =-1, εa = 1%).

You might also like