








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points are: Backward Divided Difference, Velocity of Rocket, First Derivative, Difference Approximation, Calculate Acceleration, Absolute Relative True Error, Effect of Step Size, Divided Difference Method
Typology: Slides
1 / 14
This page cannot be seen from the preview
Don't miss anything!









x i
i
.
Slope at
f(x)
= 16 i
t
Example :
The velocity of a rocket is given by
( ) 9. 8 , 0 30 14 10 2100
14 10 2000 ln 4
4
− ≤^ ≤
× −
× = t t t
ν t
where ν given in m/s and (^) t is given in seconds. Use backward difference approximation
Of the first derivative of ν ( ) t to calculate the acceleration at t = 16 s .Use a step size of
( )
( ) ( )
t
t t a t
i i i ∆
− ≅
− 1 ν ν
Solution:
( )
( ) ( )
ν − ν
( ) ( )
16 2000 ln 4
4
( ) ( )
14 2000 ln 4
4
Example (contd.)
The absolute relative true error is
Example (contd.)
TrueValue
TrueValue ApproximateValue
h (^) f '( 0. 2 ) E (^) a ε (^) a % Significant digits
Et (^) ε (^) t %
0.05 72.61598 7.50349 9.
0.025 76.24376 3.627777 4.758129 1 3.87571 4.
0 .0125 78.14946 1.905697 2.438529 1 1.97002 2.
0.00625 79.12627 0.976817 1.234504 1 0.99320 1.
0.003125 79.62081 0.494533 0.62111 1 0.49867 0.
0.001563 79.86962 0.248814 0.311525 2 0.24985 0.
0.000781 79.99442 0.124796 0.156006 2 0.12506 0.
0.000391 80.05691 0.062496 0.078064 2 0.06256 0.
0.000195 80.08818 0.031272 0.039047 3 0.03129 0.
9.77E- 05 80.10383 0.015642 0.019527 3 0.01565 0.
4.88E- 05 80.11165 0.007823 0.009765 3 0.00782 0.
x f x e
4 ( ) = 9
Value of (^) ( 0. 2 ) ' f Using backward Divided difference method.
Effect of Step Size on Approximate Error
0
1
2
3
4
1 3 5 7 9 11
Num ber of steps involved, n
E
a
Initial step size=0.
Effect of Step Size on Absolute Relative
Approximate Error
0
1
2
3
4
5
0 1 2 3 4 5 6 7 8 9 10 11 12
Num ber of steps involved, n
|E
|,%a
Initial step size=0.
Effect of Step Size on True Error
0
1
2
3
4
5
6
7
8
0 2 4 6 8 10 12
Num ber of steps involved, n
E
t
Initial step size=0.
Effect of Step Size on Absolute Relative
True Error
0
1
2
3
4
5
6
7
8
9
10
1 2 3 4 5 6 7 8 9 10 11
Num ber of steps involved, n
|E
| %t
Initial step size=0.