Worksheet Num Dif

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

UNIVERSITY OF NAIROBI

Department of Bios. & Envir. Engineering


Numerical Differentiation Tutorial (group work)
25th April 2022 (4PM-7PM)

INSTRUCTIONS: Attempt the following problems (not an assignment!)


************************Enjoy as many problems as possible!************************

Question 1 Total for Question 1: 20 marks


(a) Define the term numerical differentiation. (2 marks)
(b) Derive the following numerical differentiation formulas:

dy 1 1 1 1
= [△y0 − △2 y0 + △3 y0 − △4 y0 + ...]
dx h 2 3 4
d2 y 1 2 11 4 5 5 137 6
= [△ y 0 − △ 3
y 0 + △ y 0 − △ y 0 + △ y0 − ...]
dx2 h2 12 6 180

dy 1 1 1 1
= [∇yn + ∇2 yn + ∇3 yn + ∇4 yn + ...]
dx h 2 3 4
2
dy 1 11 5 137 6
2
= 2 [∇2 yn + ∇3 yn + ∇4 yn + ∇5 yn + ∇ yn + ...]
dx h 12 6 180
(9 marks)
(c) Given that
x 1.00 1.05 1.10 1.15 1.20 1.25 1.30
y = f (x) 1.00000 1.02470 1.04881 1.07238 1.09544 1.11803 1.14017
dy d2 y
Find dx and dx 2 at x = 1.05 and x = 1.30. (9 marks)
For any inquiry, send an email to:[email protected]

Question 2 Total for Question 2: 20 marks


(a) Given that
x 1.0 1.2 1.4 1.6 1.8 2.0 2.2
y = f (x) 2.7183 3.3201 4.0552 4.9530 6.0496 7.3891 9.0250
dy d2 y
Find dx and dx 2 at x = 1.2 and x = 2.2. (10 marks)
(b) Given that
x 1 2 3 4 5 6
y = f (x) 1 8 27 64 125 216
dy d2 y
Find dx and dx 2 at x = 1 and x = 6.

(10 marks)

Question 3 Total for Question 3: 20 marks


(a) A table of values of x and f (x) is provided below:
x 0.30 0.32 0.34 0.36 0.38 0.40
f (x) 1.659 1.668 1.681 1.692 1.704 1.719
Calculate the values of f ′ (0.33),f ′′ (0.33), f ′ (0.37) and f ′′ (0.37) as accurately as
possible. (10 marks)
dy
(b) Find dx as accurately as possible at x = 0.6 of the function y = f (x), tabulated
below:
x 0.4 0.5 0.6 0.7 0.8
y 1.5836494 1.7974426 2.0442376 2.3275054 2.6510818
(10 marks)

Question 4 Total for Question 4: 20 marks


(a) From the following table, find x correct to two decimal places, for which y is
maximum and find this value of y.
x 1.2 1.3 1.4 1.5 1.6
y 0.9320 0.9636 0.9855 0.9975 0.9960
(10 marks)
(b) Find the maximum and minimum values of the function y = f (x) from the
following data.
x 0 1 2 3 4 5
y = f (x) 0 0.25 0 2.25 16.00 56.25
(10 marks)

Page 2 of 3
NOTE: In order to get free access to ALL the solutions for these problems and many
more other Mathematical work; subscribe to the Youtube Channel (Mathematics Can
Smile) and you will be directed to the solutions playlist.
For any inquiry, send an email to:[email protected]

Question 5 Total for Question 5: 20 marks


(a) A table of values of x and f (x) is provided below:
x 1.0 1.2 1.4 1.6 1.8 2.0 2.2
f (x) 2.7183 3.3201 4.0552 4.9530 6.0496 7.3891 9.0250
Calculate the values of f ′ (1.2),f ′′ (1.2), f ′ (2.2) and f ′′ (2.2) as accurately as pos-
sible. (10 marks)
(b) Calculate the first and second derivatives of the function tabulated in (a) above
at the point x = 1.0 and x = 2.0.
(10 marks)

Question 6 Total for Question 6: 20 marks


(a) Given that
x 1.0 1.1 1.2 1.3 1.4 1.5 1.6
y = f (x) 7.989 8.403 8.781 9.129 9.451 9.750 10.031
dy d2 y
Find dx and dx 2 at x = 1.1 and x = 1.6.

(10 marks)
(b) Given that
x 1.0 1.2 1.4 1.6 1.8 2.0 2.2
y = f (x) 2.7183 3.3201 4.0552 4.9530 6.0496 7.3891 9.0250
dy d2 y
Find dx and dx 2 at x = 1.2 and x = 2.2.

(10 marks)

Question 7 Total for Question 7: 30 marks


(a) A rod is rotating in a plane about one of its ends. If the following table gives
the angle θ radians through which the rod has turned for different values of time
t seconds, find its angular velocity at t = 0.7 seconds.
t seconds 0.0 0.2 0.4 0.6 0.8 1.0
θ radians 0.0 0.12 0.48 0.10 2.0 3.20
(10 marks)
(b) The elevation above a datum line of seven points of a road are given below:
x 0 300 600 900 1200 1500 1800
y 135 149 157 183 201 205 193
Find the gradient of the road at the middle point. (10 marks)
(c) Use Stirling’s formula to find the first derivative of the function y = 2ex − x − 1,
tabulated below (fill in the values for y correct to 4 decimal places) at x = 0.6,
also find the error.
x 0.4 0.5 0.6 0.7 0.8
y
(10 marks)

Page 3 of 3
NOTE: In order to get free access to ALL the solutions for these problems and many
more other Mathematical work; subscribe to the Youtube Channel (Mathematics Can
Smile) and you will be directed to the solutions playlist.

You might also like