| Sect. # | Assignment |
|---|---|
| Assignment 1 - Turn in on Sept. 10 | |
| Sect. (1.1) | Page 14: 1(b), 2(a), 3(a), 5, 6, 7, 10, 12, 13 back to the beginning |
| Assignment 2 - Turn in on Sept. 17 | |
| Sect. (1.2) | Page 25: 2(c), 3(b), 4(b), 5(b), 6(c), 7(c), 14(a) back to the beginning |
| Sect. (1.3) | Page 39: 1(a), 5(a) (compute also ln(x+1)-ln(x) and its
equivalent formula for x=100 and x=1000 in 4 decimal digits
accuracy; and then compare these values with the true values),
9, 13(a), Show that sin(h)/h = 1 + O(h2) back to the beginning |
| Assignment 3 - Turn in on September 24 | |
| Sect. (2.1) | Page 52: 2, 3, 7, 8, 10, 14 Additional problems: (1) Let g1(x)=(1-x3)/2 and g2=(1-2x)/x2. (1.a) Verify that a solution of x3+2x-1=0 is also a fixed point of g1 and g2. (1.b) For each of g1(x) and g2(x), find the interval(s) over which |g'i(x)|<1 where i=1,2. (1.c) Show that the equation x3+2x-1=0 has a solution in [1/4, 1/2]. To find this solution using the fixed-point algorithm, which of g1(x) and g2(x) should be used? Can both be used? Should none of them be used? (2) Consider the problem of solving the equation x5-5x-1=0. (2.a) Find an interval [a,b] in which the equation x5-5x-1=0 has a solution x* (2.b) Find a function g(x) such that x* is a fixed-point of g and the sequence {xn} generated by xn+1=g(xn) converges to x* with given x0 in [a,b] obtained in (2.a). Explain why the function g of your choice will do the job. back to the beginning |
| Assignment 4 - Turn in on October 1 | |
| Sect. (2.2) | Page 63: 4, 5 (Compute n only) Consider solving the equation xsin2(x)-1=0. (a) Show that there is a solution in [0, pi/2]. (b) Determine the least number of iterations needed if the Bisection Method is used to approximate the solution in [0, pi/2] with the error no larger than 10-6. (c) Compute c1 and c2 by the Bisection Method. (d) Compute c1 and c2 by the False Position Method. (e) Choose an initial point x0 in [0, pi/2]. Compute x1 by the Newton Method. (f) This equation has infinitely many solutions. (Extra points for proving it.) Graph the equation for x in [-2pi, 10pi] using the following MatLab commands. >> clg >> x=-2*pi:.1:10*pi; >> y=x.*(sin(x)).^2-1; >> plot(x,y) >> hold >> plot([-2*pi 10*pi],[0 0],':') >> hold offGive an interval [a,b] other than [0, pi/2] containing a solution. Explain how your choice of the interval is made. back to the beginning |
| Assignment 5 - Turn in on October 8 | |
| Sect. (2.4) & (2.5) | Page 86: 2, 4(b), 34(c)(d) (Verify only for each given function that
p is a root of order M.) Page 98: 1, What does the result given in Problem 1 tell us? 2, 3 Additional Problems: Let f(x*)=0 and x* be the root of order 2. Define h(x)=f(x)/f'(x). Show that (a) h(x*)=0; (b) h'(x*) ><0. (Hint: Show first that h(x)=x-gNT(x) where gNT(x)=x-f(x)/f'(x) is the generating function of the Fixed-point iteration for the Newton Method. You may use any results for gNT(x) derived in the class.) Now we locate x* by applying the Newton Method to solve h(x)=0 for x0 in a proper chosen interval. What is the rate of convergence? back to the beginning |
| Assignment 6 - Turn in on October 15 | |
| Sect. (3.1)-(3.4) | Page 129: #1(iv), #2(a), #3(a)(c), #4 Page 142: #2, #3(b)(c), #5(a), #5(d) (use the definition of the determinant of a square matrix), #11, #12, #15 (check the sizes of XX' and X'X before computing). Page 157: #1, (Carry necessary elementary row operations to show Ax=b and Ux=v are equivalent.) Compute also the determinant of the coefficient matrix, #13 (Use Gaussian Elimination to reduce Ax=b to Ux=v first and then use backward substitution to solve Ux=v.) Compute also the determinant of the coefficient matrix. back to the beginning |
| Assignment 7 - Turn in on October 22 | |
| Sect. (3.4)-(3.6) |
Let A=[1.003 58.09;5.550 321.8] and
b=[68.12;377.30]. Solve the system Ax=b in
four decimal digits accuracy
(1) without pivoting; (2) with the partial pivoting; (3) with the scaled partial pivoting; and (4) with the complete pivoting. Which algorithm yields the most accurate results if the exact solution is [10;1]? Page 177: #1, #4(a)(b). back to the beginning |
| Assignment 8 - Turn in on October 29 | |
| Sect. (3.4)-(3.6) |
|
| Assignment 9 - Turn in on November 5 | |
| Sect. (4.1)-(4.3) |
|
| Assignment 10 - Turn in on November 12 | |
| Sect. (4.3)-(4.4) |
|
| Assignment 11 - Turn in on November 24 | |
| Sect. (4.3) & (5.3) |
|
| Assignment 12 - Turn in on December 3 | |
| Sect. (6.1) & (6.2) | Page 328: #2, #4, #7(a), #10 Page 342: #4, #5, #7 |
| Assignment 13 - Turn in on December 10 | |
| Sect. (7.1) & (7.2) | Page 355: #2(b), #3, #4, #5 Page 366: #1(i)(ii)(d), #2(b), #5(b), #10(a)(c) back to the beginning |