You are on page 1of 5

BUM2313Numerical Methods/Semester 1/Session 20202021/Assignment

COURSE:
NUMERICAL METHODS MARKS
CODE: TOPIC:
BUM2313 CHAPTER 2, 3, 4 AND 5
CENTRE FOR DUE/DURATION:
ASSESSMENT:
MATHEMATICAL
SCIENCES ASSIGNMENT
24 DECEMBER 2020 /100
(before 5 PM)
SET D
WEEK 10

INSTRUCTION:

1. Use MATHEMATICAL SOFTWARE such as EXCEL/ MATLAB/ MAPLE/ C to


facilitate the computation.
2. SUBMIT the solution in SOFTCOPY via KALAM.
3. Use SIX (6) decimal places in your calculations.
4. Save your work as ID NAME SECTION ASSIGNMENT
(Example: AA19167 NOOR NAYLOFA 01G ASSIGNMENT)
BUM2313Numerical Methods/Semester 1/Session 20202021/Assignment

QUESTION 1 [25 MARKS]

Given the equation


1
𝑓(𝑥) = 𝑒 3𝑥 + sin(4𝑥 2 ) +
3𝑥

a) Choose one positive root of the function by using graphical method.


b) Iterate 4 iterations of incremental search method with starting of initial step size, h  0.1 to
estimate the value of x.
c) From the graph, set the lower and upper interval and estimate the value of x by using False
Position method. Stop the calculation when  a  0.005% .

d) From the graph, determine the initial point x0 and estimate the value of x by using Newton

Raphson method. Stop the calculation when  a  0.005% .


e) Justify the results that have been obtained in c) and d).
BUM2313Numerical Methods/Semester 1/Session 20202021/Assignment

QUESTION 2 [25 MARKS]

Consider the following networks of roads found in Kuantan city, which are depicted in Figure
1. The flow rates are given in vehicles per day and are derived from an official study by the
Kuantan Transportation Traffic Management Division. As a Traffic Engineer, you are given a
task to investigate the flow rates over each branch based on the information provided by the
Kuantan Transportation Traffic Management Division.

Figure 1: Traffic Flow in Kuantan City

Table 1: The traffic volume (in units of vehicles) entering and leaving the roundabout (R1
and R2)

Direction A1 B1 C1 D1 B2 C2 D2
Cars enter (into) 110 3x2 155 60  x1  x5 70  x6 200  5x6 5x8

Cars leave (out of) 130 100 120 75 100 205 210

a) Based on the traffic flow at Kuantan city as illustrated in Figure 1, state the information
gathered at each intersection.

b) Based on the information in a) and by assuming that the number of cars arriving at
every corner is equal to number of the cars leaving, setup the system of Ax  b for the
traffic flow in Figure 1.

c) By using Crout’s method as LU factorization, find the unknown variables of xi for


i  1, 2, ,9 (number of cars arriving and leaving the intersections).
BUM2313Numerical Methods/Semester 1/Session 20202021/Assignment

QUESTION 3 [25 MARKS]

A random variable X that is gamma distributed with shape k and scale  is denoted by
X ~ (k , ). The probability density function of the random variable that is gamma distributed
is given by
 x

k 1   
x e
f ( x; k , )  , x  0 and k ,   0
 k ( k )

where (k )  (k  1)! is the gamma function evaluated at k.

a) By using probability density function calculate fourteen equally spaced points in the
intervals x [1,10] for k  9 and   0.5.

b) Find the Newton interpolation polynomial that curve fits the data for each interval.
Output the coefficients of the polynomial.

c) Illustrate the individual points and Newton polynomial function in a) and b),
respectively on a single plot.

d) Fit the data obtained in b) by using quadratic spline for the intervals x [1,10] for
k  9 and   0.5.

e) Illustrate the individual points and quadratic spline function in a) and d), respectively
on a single plot.

f) Justify your result.


BUM2313Numerical Methods/Semester 1/Session 20202021/Assignment

QUESTION 4 [25 MARKS]

An automobile of mass M  5400kg is moving at a speed of 40ms -1. The engine is disengaged
suddenly at t  0 sec. Assume that the equation of motion after t  0 is given by

dv
Mv  8.276v 2  2000
dx

where v  v(t ) is the speed (m/sec) of the car at t . The first term on the right side is the
aerodynamic drag and the second term is the rolling resistance of the tires. Calculate how far
the car travels until the speed reduces to 10 m/sec if the equation of motion may be integrated
as

b Mv
a 8.276v 2  2000
dv.

Evaluate the integral above

a) analytically
b) by using single application of the trapezoidal rule
c) by using composite trapezoidal rule, with n  20
d) by using single application of simpson’s 1/3 rule
e) by using composite simpson’s 1/3 rule, with n  20
f) by using simpson’s 3/8 rule
g) by using tandem of simpson’s 1/3 rule and simpson’s 3/8 rule with n  21

For each of the numerical estimates b) through g) determine the true percent relative
error,  t based on a). Then justify your results.

You might also like