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

BDA 34003 ENGINEERING MATHEMATCS IV

INDIVIDUAL ASSIGNMENT

NAME :

MATRIX NUMBER :

SECTION :

QUESTION MARKS
1

TOTAL /100
INSTRUCTION

1. Answer ALL questions.


2. Perform all calculations in FOUR decimal places.
3. Submit the assignment before/by 3pm 31 December 2020.
4. For late submission, only 50% from the total obtained marks will be given.
5. Questions 1(b), 2(c), 3(b) and 4(c) are compulsory. Zero mark will be given for
assignment, if no validation using Freemat/Matlab is done.

QUESTION 1

Given the system of linear equations as:

 a b c  x1   e 
    
 7 3 d  x2    f 
 2 2 3  x   10 
  3   

where

a – The first digit of your matrix number


b – The second digit of your matrix number
c – The third digit of your matrix number
d – The last two digits of your matrix number
e – The first two digits of your matrix number
f – The negative value of e/2

For example, a student with the matrix number CD150079 will have the values of a = 1,
b = 5, c = 0, d = 79, e = 15 and f = -7.5.

a. Solve the system of linear equations using Crout method.


(12 marks)

b. Use the provided m-file to validate your answer with Freemat/Matlab.


(3 marks)

2
QUESTION 2

Given the following function


f ( x )  ax 3  bx 2  cx  d

where
a – The first digit of your matrix number
b – The second digit of your matrix number
c – The last two digits of your matrix number
d – The last digit of your matrix number

For example, a student with the matrix number CD150079 will have the values of a = 1,
b = 5, c = 79 and d = 9

a. Find the first order derivative of f ( x ) using


(i) 2-Point Forward Difference
(ii) 2-Point Backward Difference
(iii) 3-Point Central Difference
(iv) 3-Point Backward Difference
(v) 3-Point Forward Difference
(vi) 5-Point Difference
(18 marks)

b. Find the second order derivative of f ( x ) using


(i) 3-Point Central Difference
(ii) 5-Point Difference
(6 marks)

c. Use the provided m-file to validate your answers in (a) and (b) with Freemat/Matlab.
(10 marks)

3
QUESTION 3

Given the following function


f ( x )  ax 3  bx 2  cx  d

where
a – The first digit of your matrix number
b – The second digit of your matrix number
c – The last two digits of your matrix number
d – The last digit of your matrix number

For example, a student with the matrix number CD150079 will have the values of a = 1,
b = 5, c = 79 and d = 9

5
a. Solve  f ( x )dx using
1

(i) Simpson’s 1/3 Rule, with number of division N = 10


(9 marks)
(ii) 2-Point Gauss Quadrature
(10 marks)

b. Use the provided m-file to validate your answers in (a) with Freemat/Matlab.
(6 marks)

QUESTION 4

By using the matrix A in Question 1, find the smallest eigenvalue and the corresponding
eigenvector using:

a. Characteristic Equation
(10 marks)

b. Inverse Power Method, with tolerance error 0.05. Start the iteration with
v (0)  (1 0 1)T .
(10 marks)

c. Use the provided m-file to validate your answers in (a) and (b) with Freemat/Matlab.
(6 marks)

You might also like