Instructions: Use Microsoft Excel or Open Office in Performing The Iterations For Each of

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

MATH012

Laboratory Activity # __________

Instructions: Use Microsoft Excel or Open Office in performing the iterations for each of
the following. Use 8 decimal places accuracy and stop the iteration until two successive
iterations differ by less than 0.0000001 (the absolute approximate error or accuracy).
Save your worksheet in a single Excel file and name it as
LASTNAMEFIRSTNAME_LabAct2 and then send to our WALL at Edmodo.

1. Consider the function f (x) = tan(πx) − x − 6. Use Newton’s method to evaluate a root
of this function, with the following initial approximations: 0.48, 0.46, 0.45, 0.44, 0.42,
0.4, and then 0.01. What do you notice?

Use the Desmos graphing tool or app to graphically determine the roots of the function.

2. Let f (x) = 3x4 − 8x2 + 1.

(a) Using the intermediate value theorem for the sign changes, show that f (x) = 0 has
four roots between −2 and 2, that is, the function f (x) = 0 has exactly one root in each of
the following intervals: [−2, −1], [−1, 0], [0, 1], and [1, 2].

Again, use the Desmos graphing tool or app to graphically determine the roots of the
function.

(b) Use Newton-Raphson method to evaluate the root in each interval using the left
endpoint as initial estimate. If that doesn’t work, adjust the initial estimate accordingly.

(c) Use the bisection method to find the root in each interval.

(d) How do the methods compare in terms of speed of convergence?

3. Consider the nonlinear equation x4 − 18x2 + 45 = 0.

(a) Use the intermediate value theorem to show that the equation has a root in the interval
[1, 2].

(b) Use Newton-Raphson method to find an approximation for this root, using the left
endpoint as the initial estimate.

(c) How many iterations of the bisection method would be needed in order to produce the
same accuracy as in (b)?

You might also like