0% found this document useful (0 votes)
48 views3 pages

Tutorial 1 - Chapter 1

This document contains the solutions to tutorial questions about numerical differentiation. Question 1 involves taking derivatives of increasing orders to approximate a function, with the third order approximation achieving perfect accuracy. Question 2 involves using forward, backward, and centered finite difference approximations to derive the derivative of a function, with the centered approximation having the lowest error. The document demonstrates how to apply numerical differentiation techniques to approximate derivatives.
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)
48 views3 pages

Tutorial 1 - Chapter 1

This document contains the solutions to tutorial questions about numerical differentiation. Question 1 involves taking derivatives of increasing orders to approximate a function, with the third order approximation achieving perfect accuracy. Question 2 involves using forward, backward, and centered finite difference approximations to derive the derivative of a function, with the centered approximation having the lowest error. The document demonstrates how to apply numerical differentiation techniques to approximate derivatives.
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/ 3

TUTORIAL 1 – CHAPTER 1

SOLUTION
QUESTION 1

(a)

True value: f(3) = 554

zero order:

f (3)  f (1)  62

554  (62)
t   100 %  111 .191 %
554

first order:

f (3)  62  f ' (1)(3  1)  62  70(2)  78  t  85.921 %

second order:

f " (1) 138


f (3)  78  (3  1) 2  78  4  354  t  36.101 %
2 2
third order:

f (3) (1) 150


f (3)  354  (3  1) 3  354  8  554  t  0%
6 6
Thus, the third-order result is perfect because the original function is a third-order polynomial.

(b)

True value:

f ' ( x)  75 x 2  12 x  7

f ' (2)  75(2) 2  12(2)  7  283

function values:

xi–1 = 1.8 f(xi–1) = 50.96

xi = 2 f(xi) = 102

xi+1 = 2.2 f(xi+1) = 164.56

forward:

164 .56  102 283  312.8


f ' (2)   312 .8 t   100 %  10.53%
0.2 283

backward:

102  50.96 283  255.2


f ' (2)   255 .2 t   100 %  9.823 %
0.2 283
centered:

164 .56  50.96 283  284


f ' (2)   284 t   100 %  0.353 %
2(0.2) 283

QUESTION 2
(a)

(b)

(c)

You might also like