Tutorial 1
Tutorial 1
x2 x4 x6 x8
cos x = 1 + + ···
2 4! 6! 8!
Starting with the simplest version, cos x = 1, add terms one at a time to estimate
:
cos(⇡/3). After each new term is added, compute the true and approximate percent
relative errors. Use your pocket calculator to determine the true value. Add terms
until the absolute value of the approximate error estimate falls below an error criterion
conforming to two significant figures.
using a base point at x = 1. Compute the true percent relative error for each approxi-
mation.
2022 Page 1 of 1
Es =
0.5×102-2%
=
0.5%
=
0.005
10543=0.5
105%3--1 ( b)
2
"
105%3--1 ( b)
2
" "
1--1=0.5-1 (-11/3)
-
-
2 2
= -
0.5 41
.
Et = -
0.5 = -
I
=
0.451689 =
0.451689 t 0.05011
0.5 =
-100% Et =
0.5-0.451689 =
0.501796
Ea =
0,451689 -1 =
-1.2139 Ea = 0.501796 -0.451689
0.451689 0.501796
+ (
"
I} ) _
/ "b)
2 41
.
6!
0.49996
=
Et =
0.5 -0.49996 =
0.00008
0.5
{a = 0.49996 -0.501796 =
-
0.0036723
0.49996
'
the calculation
i.
stop
True value : f / 3) =
251373-61372+713 ) -
88
=
554
f / Hit , )=f / 71 ;) Hi -_
I
h= Kitt -71 ;
f- / 3) = f (1)
f- 4) 251173-61112-17111-88
=
=
3-1--2
≈ -
62
E -1--554-1-627 =
111.19 %
554
First order
f /711=150×-12
"
f- Iki -117 1-171,7+1-1171 ;) f / a) 75112-12×-17
= '
h =
78 70
=
E -1--554-1781 =
85.92 %
554
Second order
f /711=150×-12
"
f- 171-11-1=1-171 ;) f / Hi )h f / ✗ ith
' "
'
+ +
2 ! =
15011 ) -
12
f- 131=1-117-1 f '
/ 1) 12) tf / 1)
"
(2)
2
2
!
=
78-1 276
=
354
E -1--554-13541 =
36.1070
554
Thirdorderflxtil-flx.lt f / Xi )h
'
+ f / ✗ ith
"
'
t f-
"'
171,7h
'
f '"
1717=150
2 ! 3 !
f- 131=1-117-1 f '
/ 1712) t f 'll )
'
(2)
2
1- f- " 1171273
'
2
! 3 !
=
354-1200
=
554
Ee -554-15541
- =
0%
554