Numerical Method
Numerical Method
Numerical Methods
ENGR. RONALD MIGUEL G. DAVID
INSTRUCTION: Select the correct answer for each of the Situation 2: Solve the following system of linear equation
following questions. Mark only one answer for each item by using Jacobi Iteration, use initial guess x1 0 = 0, x2 0 =
shading the box corresponding to the letter of your choice on 0, and x3 0 = 0:
the answer sheet provided. STRICTLY NO ERASURES
ALLOWED. Use pencil no. 2 only. 6x1 − 2x2 + x3 = 11
x1 + 2x2 − 5x3 = −1
ROOTS OF EQUATIONS −2x1 + 7x2 + 2x3 = 5
w
a. 6.250 b. 6.563 a. 1.080 b. 1.053
c. 6.406 d. 6.875 c. 2.085 d. 2.038
11. Value of x3 on third iteration.
ie
2. f(x) = −12x 5 − 6x 3 + 10 a. 1.080 b. 1.053
Initial guesses: xl = 0 and xu = 1 c. 2.085 d. 2.038
Condition: Until the approximate relative error falls
ev
below 5%, use False-position method
a. 0.875 b. 0.813 Situation 3: Solve the following system of linear equation
c. 0.859 d. 0.867 using Gauss-Seidel, use initial guess x1 0 = 0, x2 0 =
0, and x3 0 = 0:
3. f(x) = 2x 3 − 11.7x 2 + 17.7x − 5
Initial guesses: xo = 3
R 10x1 + 2x2 − x3 = 7
Condition: Until the approximate relative error falls x1 + 8x2 + 3x3 = −4
below 5%, use Newton-Raphson method −2x1 − x2 + 10x3 = 9
a. 3.564 b. 3.600
E
c. 3.862 d. 3.794 12. Value of x1 on second iteration.
a. 0.985 b. 0.916
4. x6 − x = 1 c. -0.982 d. -0.587
EL
Situation 1: Solve the following system of linear equation: DATA FITTING/CURVE FITTING
EO
a. -8/9 b. 26/27
c. 52/27 d. -11/27
a. y = 1.40 + 0.88x b. y = 0.88 + 1.40x
6. Value of x.
c. y = 1.05 + 2.32x d. y = 2.32 + 1.05x
a. -8/9 b. 26/27
c. 52/27 d. -11/27
7. Value of y. 16. For the following set of data, find the least-square
a. -8/9 b. 26/27 parabolic function:
c. 52/27 d. -11/27
8. Value of z. x -3 0 2 4
a. -8/9 b. 26/27 y 3 1 1 3
c. 52/27 d. -11/27
a. y = 0.1925 − 0.8505 + 0.1785x 2
b. y = 0.1785 − 0.1925x + 0.8505x 2
c. y = 0.1785 − 0.8505 + 0.1925x 2
d. y = 0.8505 − 0.1925x + 0.1785x 2
Numerical Methods
ENGR. RONALD MIGUEL G. DAVID
Situation 4: Upward velocity of a rocket as a function of time Situation 6: Given these data:
by the following data:
x 1 2 3 5 7 8
f(x) 3 6 19 99 291 444
t(s) 0 10 15 20 22.5 30
w
a. v(t) = −100.93 + 30.914t a. 48 b. 59
b. v(t) = −30.914 + 100.93t c. 52 d. 50
c. v(t) = 3.265 + 0.032t 26. Polynomial of order 3
d. v(t) = 0.032 + 3.265t
ie
a. 48 b. 59
18. Determine the velocity at t=16 using linear c. 52 d. 50
interpolation.
a. 1583.966 b. 3.777
ev
c. 52.272 d. 393.694
19. Determine the velocity function for t=16 using quadratic
interpolation.
a. v(t) = 12.99 + 16.255t + 0.5023t 2
b. v(t) = 11.45 + 18.022t + 0.2532t 2
R
c. v(t) = 13.22 + 15.062t + 0.4545t 2
d. v(t) = 12.05 + 17.733t + 0.3766t 2
20. Determine the velocity at t=16 using quadratic
E
interpolation.
a. 401.659 b. 392.188
c. 364.621 d. 370.564
EL
x 1 2 3 5 7 8
C