Professional Documents
Culture Documents
Question (1) : Choose The Most Appropriate Answer (10 Marks)
Question (1) : Choose The Most Appropriate Answer (10 Marks)
5. For finding the root of sin x = 0, using secant method the following choice
of initial guesses would not be appropriate
𝜋 𝜋 𝜋 3𝜋 𝜋 𝜋 𝜋 𝜋
a) & b) & c) - & d) &
4 2 4 4 2 2 3 2
1
c) are sensitive to round off errors.
d) All of the above.
9. Given f(3)=2, f '(3)=1, f "(3)=4; and that all other higher order derivatives
of f(x) are zero at x=3, and assuming the function and all its derivatives
exist and are continuous between x=3 and x=7, the value of f(7) is:
a) 38.000 b) 79.500 c)126.00 d) 331.50
10. The augmented matrix for a 3×3 system of linear equations [A:b] is given
2 6 1 8
by: [0 1 4 ⋮ 9].
4 2 1 4
The final solution matrix of this system using the Gauss Jordan elimination
without pivoting is given by:
1 2 5 0 1 0 0 0 1 0 0 2 1 0 0 2
a) [0 1 6 ⋮ 1] b) [0 1 0 ⋮ 1] c) [ 3 1 0 ⋮ 1] d) [0 1 0 ⋮ 1]
0 0 1 2 0 0 1 2 10 29 1 0 0 0 1 0
𝟐−𝒆𝒙 +𝒙𝟐
b) The following function has a root near x = 1.5, f(x) =
𝟑
Use two iterations of the fixed-point iteration method to calculate the root
that will converge.
2
Question (3): [10 marks]
Consider the following system of equations:
15𝑥1 + 3𝑥2 + 6𝑥3 = -18
5𝑥1 + 10𝑥2 + 2𝑥3 = - 6
3𝑥1 + 𝑥2 + 8𝑥3 = 10
3
Useful Formula
Bisection method
Newton-Raphson method
f (x i )(x i 1 x i )
Secant method x i 1 x i
f (x i 1 ) f (x i )
f (x ) 0 g (x ) x
Fixed point iteration x i 1 g (x i )