Chapter 1
Chapter 1
¿
Exercise 2 : Suppose x must approximate x with relative error at most 10−3 . Find the largest
¿
interval in which x must lie for each value of x .
1. x=150 2. x=900 3. x=1500 5 . x=90
Exercise 3:1. Use three-digit rounding arithmetic to perform the following calculations.
Compute the absolute error and relative error with the exact value determined to at least five
digits.
a. 133 + 0.921 b. 133 − 0.499 c. (121 − 0.327) – 119 d. (121 − 119) − 0.327
22
π−
13 6 7
−
14 7
e. 2exp (1)−5 . 4
3
f. -10 π +6 exp (1 ) -62
( )( )
2 9
g. 9 7 , h.
1
17
¿ ¿
Exercice 4: Let x and y be two positive exact quantities, x and y two positive approximations
of and x and y .
1. Prove that, 1-
Δ x + y =Δ x +Δ y δ
, 2- ( x + y )
≤max(δ x , δ y )
¿ ¿
Prove that, 1-
Δ xy =x Δ y + y Δ x , δ =δ x + δ y
2- xy
2.
−4 −3
Exercise 5:1. Let a=0 . 0987±0. 5×10 and b=20 .104±4×10
Determine the number of correct decimals and the number of significant digits for both a and b .
2. Let c = 22.73531443. Round the value c correctly to 5 significant digits to obtain the
approximation c . Give both the approximate value c and an upper bound for the absolute
error |Δc| in the approximation.
x− y
f ( x , y , z )=
Exercise 6. 1. Let z where x = 8.25, y = 1.05 and z = 4.00 are correctly
rounded. Compute an approximate value for together with a bound for the absolute error.
1
bx
2. Let f ( x )=e , where b=1. 70±0 .01 . Compute f ( 2) and also use the error propagation
formula to give an error bound.
2
3. The area of a circle is A=πr . Compute the area, and an error bound, for the case
when r =23. 76±0 . 02 and we approximate π by 3.142.
b
4. Let y=ae where a=1 .54±0 . 03 and b=3 .17±0 . 05 . Compute the approximate value y
and an error bound.
Exercice 7 :1. Determine the number of exact significant digits of the approximate number
¿
x =25. 253405 of x if the absolute error is Δ( x )=0 . 000325
.
2. Determine the number of exact significant digits of the approximate number 2.2505, if we have
−3
a relative error less than δ ( x )=10 .
3. If all significant digits of 3.2501 are correct. What is its absolute and relative error.
x be the approximate value of x and Δ x the upper bound of the absolute error
¿
Exercice 9 :1. Let
¿
Δ( x ) , prove that we can write x=x ±Δ x
δ =2 δ x .
2. If S= x , we use the approximation Δ(f (x ))=df ( x ) , show that S
2
1
=0 . 08
Let S=12. 34±0 .01 , x=√ S=3 . 5128 and 12 .38
δ
3. Calculate the upper bound of the relative error S
Z
Exercice 10:1. Let z be an approximate value of 1 and
Δ z =|z|δ z , give the definition of
Δ z and δ z .
Z =0 . 3501 , how many significant digits does have
2. Let z=0 . 3500 be the approximate value of 1
z.
2
x
u= , x >0, y >0
Exercice 11 : Let y and f be a function defined and differentiable on IR, we
use the approximation Δ(f (x ))=df ( x ) .
2.If Δ( x )=0 . 02 , x=1. 25 , Δ( y )=0 .015 and y=2 . 135 calculate Δ(u), , δ (u ) , δ u and Δu to 3
chiffres significatifs exacts.
Exercice 12: 1. With how many digits should x=√ 19 be calculated so that the relative error does
0
not exceed 0.1 0 .
¿
2. The relative precision of the approximate number x =24523 is 0.10 0 , how many exact digits
does it have.
¿
Exercice 14: 1. Let x =3. 1250 the approximate value of x and the relative error
( )
n−1
1 1
δ ( x )≤ ¿
3 10 how many exact significant digits does x have.
−3
2. If δ x =0 . 1×10 , calculate the upper bound of the absolute error
Δx
¿
3. How many exact significant digits does z have .
4. Determine the number of exact significant digits of numbers x= 6.17825 if the relative error is
δ ( x )=10−4 .
¿
5. If all significant digits of x =2525. 15 are exact. What is its relative error.
2. Year of birth
Subtract the sum of the four digits from your year of birth.
You thus obtain a result divisible by 9.
Why this.
3
4