


















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















































Part Topics Part 1 Modeling, Computers, and Error Analysis (Ch. 1-4) Part 2 Roots of Equations (Ch. 5-8) Part 3 Linear Algebraic Equations (Ch. 9-12)
Part Topics Part 4 Optimization (Ch. 13-16) Part 5 Curve Fitting (Ch. 17-20) Part 6 Numerical Differentiation and Integration (Ch. 21-24) Part 7 Ordinary Differential Equations (Ch. 25-28) Part 8 Partial Differential Equations (Ch. 29-32) SECTION 1: ERROR ANALYSIS & APPROXIMATIONS (Problems 1-6)
an approximation relative to the true value. The Taylor series with n terms approximates the function by truncating after the n-th term, and the error decreases as more terms are included. Problem 2. A number is rounded to 3 significant figures: x = 3.14159 → x_approx = 3.14. Calculate the approximate percent relative error. Solution: Step 1: Error
true value is unknown. It is the relative error of the approximation to the approximated value itself. Problem 3. Determine the number of significant figures in the number 0.004050. Solution: Step 1: Significant figure rules
Problem 5. Calculate the machine epsilon for a computer with a 23 - bit mantissa (single precision). Solution: Step 1: Machine epsilon
Solution: Step 1: True derivative
Step 3: Error
Here the midpoint happened to be the exact root. In general, the method guarantees convergence but is slow. Problem 8. Use the bisection method to find the root of f(x) = x³
Step 3: Iteration 2
Solution: Step 1: Key advantages
Step 1: Derivative
Problem 14. The Newton-Raphson method is based on which mathematical principle? Solution: Step 1: Derivation
for h gives the Newton-Raphson update. Problem 15. Use the secant method to find the root of f(x) = x² - 4 = 0 starting from x₀ = 1 and x₁ = 4. Perform 2 iterations.
Answer: x ₂ = 1.6, x ₃ = 1. Rationale: The secant method uses a finite difference approximation to the derivative. It converges faster than bisection but is not guaranteed to converge. Problem 16. The Newton-Raphson method can fail when: Solution: Step 1: Failure conditions
Problem 17. Use the modified secant method (with perturbation δ = 0.01) to find the root of f(x) = x² - 4 = 0 starting from x₀ =