You are on page 1of 3

UNIT NAME: NUMERICAL ANALYSIS

PRACTICE QUESTIONS

a) The derivative of a function f ( x )is approximated by the equation


f ( x+ ℎ ) −f ( x )
f ' ( x )=

0.5 x
If f ( x )=7 e and ℎ=0.3 , Determine;
i) Approximate value of f ' ( 2 ) [2 Marks]
'
ii) True value of f ( 2 ) [2 Marks]
iii) Relative error in f ' ( 2 ) [2 Marks]
2
b) Find an approximate root of x − 2 in the interval (1, 2) by using the bisection method
with error≤ ε =10−4 . [5 Marks]
c) Use an iterative method to find the root of the equation x 3+ x2 −1=0 near 0.75.
[5 Marks]
d) Find the cubic polynomial which takes the values
y ( 1 )=24 , y ( 3 )=120 , y (5 )=336∧ y ( 7 )=720.
Hence or otherwise obtain the value of y (8) [9 Marks]
'
e) Find the approximate value of to f ( 0.4) where f ( x )=sin x and
x 0=0.4 , x 1=0.6 , x 2=0.8 , x 3=1.0 [5 Marks]
3
Find the real root of the equation f ( x )=x −2 x −5=0 by using the method of False
Position. [10 marks]
a) A solid of revolution is formed by rotating about the x − axis the area between the
x − axis , and the lines x=0 and x=1, and a curve through the points with the
following coordinates;

x 0.00 0.25 0.50 0.75 1.00


y 1.0000 0.9896 0.9589 0.9089 0.8415

Estimate the volume of the solid formed, giving your answer to 3 decimal places. Use
1
Simson’s Rule. [5 Marks]
3

b) The function y=sin x is tabulated below


x y=sin x
0 0
π
0.70711
4

π
1.0000
2

Using Lagrange Interpolation Formula, Find the value ofsin ( π6 ). [5 Marks]

a) Use an iterative method to find the positive root of the equation x e x =1,
Near 1 [10 Marks]
'
b) Find the approximate value of f ( 2,31 ) by using Newton’s Forward difference for
f ( x )=x 3 +2 and x=0,1,2,3,4,5 . [10 Marks]
5
x 3
a) Evaluate ∫ dx withn=8, using Simpson’s Rule. [8 Marks]
1 √ x+1
8
b) Find the interpolating polynomial P2 ( x ) with the interpolating polynomial that fits
the data;

x -1 0 2
y=f ( x ) 2 -1 5

Use the obtained polynomial to estimate the value of f (0.5). [7 Marks]


c) The upward velocity of a space craft is given by the function

t (s ) 0 10 15 20 22.5 30
V(m/s) 0 227.04 362.78 517.35 602.97 901.67
By using forward divided difference, find the acceleration of the space craft
at t=16 seconds. [5 Marks]

i) Use the Newton Raphson method to find an efficient way of computing √n a , a>0 ,n ∈ Z
[5Marks]

ii) Illustrate the method obtained in a i) to compute the value of√ 17.
Use x 0=4.0 [5 Marks]
a) The Torque T needed to turn the torsional spring of a mouse trap through an
angle θ is given by;

Angle θ 0.698132 0.959931 1.134662 1.570796 1.919862


(Radians)
Torque T 0.188224 0.209138 0.230052 0.250965 0.313707
(NM)

Find the constants K 1 and K 2 of the least square line T =K 1 + K 2 θ .


[10 Marks]

You might also like