U2 Nov2023
U2 Nov2023
U2 Nov2023
a) Find the minimum distance from the origin (0, 0) to the line.
b) Find the maximum distance from the origin to the points on the line between (−5, 0) and
(0, −10) (including both endpoints).
√
2. We define the function f (x) = 1 + x.
√
a) (1.5 p.) Compute the 4-order Maclaurin polynomial of f and use it to approximate 1.2.
b) (1 p.) Find an upper bound on the error of the approximation of part a).
a) (0.5 p.) Show that there is only a positive solution to the equation, p. Find a 1-length
interval [a, a + 1], with a ∈ Z, where p is.
b) (1 p.) By the bisection method, find an approximation of p with an error of 0.08. How
many iterations are needed to find the approximation up to an error of 10−7 ?
c) (1.5 p.) Verify that we can use the Newton’s method to approximate p and then find an
estimate of p up to an error of 10−7 .
Formulas
Taylor’s formula with remainder (order n around a):
!
f ′ (a) f (2) (a) f (n) (a) f (n+1) (c)
f (x) = f (a) + (x − a) + (x − a)2 + · · · + (x − a)n + · (x − a)n+1
1! 2! n! (n + 1)!
f (n+1) (c)
· (x − x0 )(x − x1 ) · · · (x − xn )
(n + 1)!
then (pn ) is convergent to the root if p0 ∈ [a, b] verifies f (p0 ) · f ′′ (p0 ) > 0.
Upper bound for the error :
M
|pn − pn−1 |2
|p − pn | ≤
2m
where m is a positive lower bound of |f ′ | on [a, b] and M an upper bound of |f ′′ | on [a, b].