Numerical Analysis Solution Homework
Numerical Analysis Solution Homework
MATH 511
Homework II
Posted: March, 10, 2013
Due: March, 17, 2013
Problem 0
Conduct a comprehensive review of the Linear Algebra course, MATH 311. Review the MATLAB codes on
your Moodle account. You should be able to master basic MATLAB functions by now. You are responsible for
all the problems of Chapter 2.
Problem 1 (15 pts)
Solve Problem 2 (page 50) of your textbook, g(x) = 4 + 4x 0.5x
2
Problem 2 (5 pts)
Solve Problem 9 (page 61) of your textbook, f(x) =
1
x 2
Problem 3 (5 pts)
Solve Problem 10 (page 61) of your textbook, f(x) = tan(x)
Problem 4 (10 pts)
Solve Problem 14 (page 62) of your textbook, f(x) = (x 1)
3
(x 2)(x 3)
Problem 5 (25 pts)
Solve by bisection and false position the roots of f(x) = cos(x) + 1 x. Use [a
0
, b
0
] = [0.8, 1.6]. Tabulate the
roots, the relative error and the residual at every iteration. Terminate your search when the residual drops
below 10
12
.
Problem 6 (5 pts)
Solve problem 13 (page 86) of your textbook.
Problem 7 (5 pts)
Solve problem 15 (page 86) of your textbook, f(x) = (x 1)
1
2
.
1
Problem 8 (30 pts)
Consider the nonlinear equation f(x) = 0 where f(x) = arctan(x). We attempt to solve for the obvious and
unique root x = 0 by Newton-Raphson. Study the plot placed on Moodle.
a - start with the initial guess x
0
= 1.391 and perform 10 iterations, tabulate your results (5 pts)
b - start with the initial guess x
0
= 1.392 and perform 10 iterations, tabulate your results (5 pts)
c - what do you conclude from the above analysis, set the equation which determines the boundaries of the
corresponding separatrix (8 pts)
d - now that you have a good interval for the boundaries solution, solve for them using the bisection method
(12 pts).
2