Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Group Assignment 1

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

BDA 34103 NUMERICAL METHODS

(GROUP ASSIGNMENT 1)

NO. NAME MATRIX SECTION


NUMBER
1.

2.

3.

4.

5.

QUESTION MARKS

CLO 1
1

CLO 1
2

CLO 2
3

CLO 2
4

CLO 5
5

TOTAL
INSTRUCTION
1. Answer ALL questions.
2. Perform all calculations in FOUR decimal places.
3. Questions 5 are compulsory. Zero mark will be given for assignment, if no validation
using Freemat/Matlab/ any other mathematical tools is done.
4. Submit the assignment before the dateline: 7.12.2023. 6 P.M.
5. For late submission, only 50% from the total obtained marks will be given.

QUESTION 1: CHAPTER 2 NONLINEAR EQUATIONS

The pH of rainwater in Parit Raja area can be computed as:

pH = − log10 [ H + ]

where [H+] is the molar concentration of hydrogen ions.

The chemistry of rainwater is also governed by the nonlinear system of equations as follows:

f ([ H + ]) = 5.474 ×10−12 [ H + ]2 + 5.487 ×10−22 [ H + ] + 10−1 A [ H + ]2 − [ H + ]3

(a) Based on the obtained third-order polynomial, determine the pH of rainwater in Parit
Raja area using Secant method, with starting interval [2,12]. Iterate until 10th iteration.

(15 marks)

(b) Plot the convergence error of your iterations.


(5 marks)

Note that the value of A is the last digit of your matrix number. For example, a student with
−14
matrix number AD193214 will have the values of 10 . (Hint: To find the pH, you need to
calculate [ H ] )
+

QUESTION 2: CHAPTER 4 INTERPOLATION


Given the following table
xi f(xi) 1st order 2nd Order 3rd Order
Difference Difference Difference
x0 =0 a 3.6866 f 24.18888
x1 = 0.5 b d 79.9713
x2 = 1 c e
x3 =3 433.4288

(a) Identify the values of a, b, c, d, e and f by using Newton’s Divided Difference


method.
(10 marks)
(b) Approximate the value of f' (x=2.2B) by using Quadratic Lagrange Interpolation
Polynomial (3 points).
(10 marks)

Note that the value of B is the last digit of your matrix number. For example, a student with
matrix number AD215579 will have the values of x=2.29

QUESTION 3: CHAPTER 5 NUMERICAL DIFFERENTIATION

(a) A military radar identified an unknown object flying above Andaman Sea. The Radar Intercept
Officer (RIO) justified that this unknown flying object follows a motion equation,
(t ) sin t + 6t 3 where s in meter and t in second. Justify whether 3-point central difference
s=
has higher accuracy in approximating the velocity of the unknown flying object at 15+A
second, comparing to 2-point forward difference and 2-point backward difference. Use small
increment, h =10−3 . Note that the value of A is the last digit of your matrix number. For
example, a student with matrix number AD193214 will have the values of A=4.

(10 marks)

(b) Consider the step size h = 0.1 and h = 0.001, how does the step size affect the accuracy in
x) Ae x + Bx 2 sin x at x = 0.25 using 3-point central
estimating the first order derivative of f (=
difference? Note that A is the last two digits of your matrix number and B is A/5. For example,
student with matrix number DD215020 will have the values of A = 20 and B = 4.
(10 marks)

QUESTION 4: CHAPTER 6 NUMERICAL INTEGRATION

(a) A section of rough ground is to be cut. The cross-sectional area A depends on the height h of
A (2h + 10)h
the soil above the datum line of road construction. This relationship is given by =
The height h depends on the distance x along the road, so that a table of values A as a function
of x can be given as in Table Q4(a)

Table Q4(a): Cross-sectional area versus distance


Distance,
0 200 400 600 800 1000 1200 1400 1600 1800 2000
x (m)
Height, h
0.0 3.0 7.0 6.3 1.3 -2.6 -1.3 1.7 2.8 -0.5 0.0
(m)
Area, A
0.0 48.0 168.0 142.4 16.4 -39.5 -16.4 22.8 43.7 -5.5 0.0
(m2)

Estimate the net volume of earth removed in making the road, using trapezoidal rule and
appropriate Simpson’s method from the data records, as it is cut from 0 km to 2km.
(10 marks)
(b) Zaafran is an engineer in Ferrari team. He develops a car simulation on the track which
can be expressed in a polynomial function as:

v(t ) = 60t 3 + 98t 2 + 54t

where velocity, v is measured in m/s and time, t in seconds. If the car starts moving from starting
point (0 seconds) to the end point (9 seconds), calculate the distance travelled by the car within
9 seconds from the starting point by using 3 Point Gauss quadrature.
(10 marks)

QUESTION 5: VALIDATION (MATHEMATICAL TOOLS)

Validate your answer using any mathematical tools for

(a) Q1 (a)
(5 marks)
(b) Q2 (b)
(5 marks)
(c) Q3
(5 marks)
(d) Q4 (b)
(5 marks)

You might also like