CSE 541: Introduction to Numerical Methods

Winter 2012

Exam Notes


RULES AND FORMAT

jump to notes on Midterm II
jump to notes on Final Exam


MIDTERM I NOTES

In general, know

Topics

  1. Math preliminaries

  2. Taylor Series (TS)

  3. Computer representations of numbers

  4. Numerical Root Finding

  5. Interpolation

  6. Numerical Differentiation

  7. Numerical Integration

Sample questions

Review homeworks

Some samples.

  1. you're only interested in positive parameter values (x>0) and the function is monotonically increasing. How would you go about writing a program to find a root of an arbitrary monotonically increasing function?

  2. For some function f(x),you have access to values f(0), f(0.5), f(1.0), f(1.5). f(2.0). Estimate its value at x= 0.75. Estimate its derivative at f(0.5). Estimate the integral from 0 to 2.0.

  3. For some function f(x), you have access to values f(0), f'(0), and f''(0). How would you compute the derivative at x = 0.1? What is an upper bound on the error? What is the upper bound if you know that f'''(x) < 5 for 0
  4. Given a monitonically increasing function that has monitonically increasing derivatives, what is the upper bound on using the following Taylor Series approximation to the function in the interval [0.0, 1.0]: f(0.25) ~ f(0) + f'(0)*0.25?

  5. Construct a function that the Regula Falsi root finding algorithm would work well on, but bisection would not. Explain.

  6. Given f(a), f(b), f(c), can you think of a way to compute the integral from a to b that is better than the Trapezoidal Rule? I'm looking for an idea here, not a specific formula.
  7. Given the function graphed below and the information that there exists a root between 0 and 20, discuss how the various root finding algorithms would handle finding the root.


MIDTERM II NOTES

Same rules and format as with midterm #1 (see top of this page for a list)

In general know:

TOPICS

SAMPLE QUESTIONS

  1. Given the function xxxx between 0 and 1, how well does the [Trapezoidal Rule using 1 inteval | 2-point Gaussian | ... ] compute the integral?
  2. What is 'recursive trapezoid integration'?
  3. What is adaptive integration?
  4. How many Trapezoid intervals are necessary to approximate an integral within 0.1 if the derivatives are bounded by .2 in the interval?
  5. Explain how to apply adaptive approach using Simpson's 1/3 rule.
  6. What are the important properties of random number generators?
  7. What is the period of an LCG?
  8. How would you use Monte Carlo integration to compute the area inside an oval?
  9. Given a system of linear equations,
  10. What is a permutation matrix and how does a given specific one affect a matrix?


FINAL EXAM NOTES

Same rules and format as with midterms (see top of this page for a list)

Bascially, this course is about how to do math on a computer paying particular attention to:

To prepare for the final:

Topics

There will be questions on:


SAMPLE QUESTIONS

See the sample questions from the midterms, above.

See the relevant sample exercises in the book (e.g., scaled partial pivoting)

  1. Give pseudo code to efficiently calculate x^5 + x^3 + x, for some given variable x.
  2. Give the three-term Taylor Series expansion of sin(x), where f'(x) = cos(x), f''(x) = -sin(x), f'''(x) = -cos(x), f''''(x) = sin(x). Also give a bound on the error.
  3. Show how the bisection method of root finding would work on the function graphed below.
  4. Derive the central difference formula using Taylor Series expansion.
  5. How is C-1 continuity enforced in Hermite splines?
  6. What does AB=BA tell you about the matrices?
  7. If A = LU, where L is a lower triangular matrix and U is an upper triangular matrix, explain how to solve Ax=b

Last updated 2/22/2012

CSE541 Class web page