0% found this document useful (0 votes)
154 views

Mat575 2008-2

uitm

Uploaded by

Wan Fazrin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
154 views

Mat575 2008-2

uitm

Uploaded by

Wan Fazrin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

CONFIDENTIAL

CS/OCT 2008/MAT400/575

UNIVERSITI TEKNOLOGI MARA


FINAL EXAMINATION

COURSE

INTRODUCTION TO NUMERICAL ANALYSIS

COURSE CODE

MAT400/575

EXAMINATION

OCTOBER 2008

TIME

3 HOURS

INSTRUCTIONS TO CANDIDATES
1.

This question paper consists of five (5) questions.

2.

Answer ALL questions in the Answer Booklet. Start each answer on a new page.

3.

Do not bring any material into the examination room unless permission is given by the
invigilator.

4.

Please check to make sure that this examination pack consists of:
i)
ii)

the Question Paper


an Answer Booklet - provided by the Faculty

DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO DO SO


This examination paper consists of 5 printed pages
Hak Cipta Universiti Teknologi MARA

CONFIDENTIAL

CONFIDENTIAL

CS/OCT 2008/MAT400/575

ANSWER ALL QUESTIONS


QUESTION 1
a)

3
Given that f(x) = - x2-4x-

2sin x is defined on the interval (-71, n).

a)

Show that f has at least one root in the given interval.

b)

Show that p = 0 is a root of f.

(5 marks)
(3 marks)
b)

i)

Given f (x) = 0 in an interval [a,b]. Derive the Newton-Raphson iteration


method to determine the first approximation of the root of f. Hence, deduce
the Newton-Raphson iteration formula for approximating the root of f.
(5 marks)

ii)

Given f (x) =cos(x). Use Newton-Raphson method to find the approximate


root of f(x) = 0 in the interval [0, 2]. Use the initial guess, x0 = 1. Give your
answer correct to five decimal places.
(7 marks)

Hak Cipta Universiti Teknologi MARA

CONFIDENTIAL

CONFIDENTIAL

CS/OCT 2008/MAT400/575

QUESTION 2
Consider the data in the following table:

i
x

/(*)
a)

0
0.0
-5

1
1.0
1

2
2.0
10

3
3.0
25

Construct the forward divided-difference table up to the third order.


(4 marks)

b)

Using the results in a) above, establish the cubic Newton's forward divided-difference
interpolation polynomial explicitly in terms of x which represents the given data.
(5 marks)

c)

Hence, using your result in b) above, evaluate r"(4.5) and give your answer correct to
three decimal places.
(2 marks)

d)

Establish the cubic interpolation polynomial using the Lagrange interpolating


polynomial.
(5 marks)

e)

Hence, using your result in d) above, evaluate f (4.5) and give your answer correct to
three decimal places.
(2 marks)

f)

Comment on the results obtained in c) and e) above.


(2 marks)

Hak Cipta Universiti Teknologi MARA

CONFIDENTIAL

CONFIDENTIAL

CS/OCT 2008/MAT400/575

QUESTION 3
a)

Find a least squares line to approximate the continuous function y = x + x2 on the


interval [0,2].
(11 marks)

b)

A certain material is tested for cyclic fatigue failure whereby a stress measured in
MPa, is applied to the material. The cycles count, N needed to cause failure is
observed and the results are tabulated as shown below. A log-log plot of stress
versus cycles count indicates a linear relationship of the data trend. Use least
squares approach to determine the line of best fit for the given data.
Cycles
count, N
Stress,
MPa

10

100

1000

10,000

100,000

1,000,000

1200

900

700

600

400

300

150
(9 marks)

QUESTION 4
The table below gives the values of y = ex for values of x from 0.0 to 1.0 in steps of 0.1.
Compute the approximation of the integral [e^dx by using the composite trapezoidal rule.
Hence, obtain the absolute error estimate of your approximation.

0
0.0

1
0.1

2
0.2

3
0.3

4
0.4

5
0.5

y, =e^

1.00000

1.01005

1.04081

1.09417

1.17351

1.28402

x,

6
0.6

7
0.7

8
0.8

9
0.9

10
1.0

y, =e*

1.43333

1.63232

1.89648

2.24791

2.71828

x,.

(20 marks)

Hak Cipta Universiti Teknologi MARA

CONFIDENTIAL

CONFIDENTIAL

CS/OCT 2008/MAT400/575

QUESTION 5
dy
.
Given an initial value problem = x - x with y(0) = 2.
dx
a)

b)

Obtain y (0,2) correct to four decimal places using


i)

the Euler's method with h = 0.1,

(5 Yi marks)

ii)

the Taylor's method of order 2 with h = 0.2,

(4 Y2 marks)

iii)

the Runge Kutta method of order four, and

(6 marks)

iv)

the direct integration of the problem.

(2 marks)

Comment on the result obtained in each case and state which method gives the best
result as compared with the result obtained in a)iv) above.
(2 marks)

END OF QUESTION PAPER

Hak Cipta Universiti Teknologi MARA

CONFIDENTIAL

You might also like