Exam 2 in Spring 2005:
Exam 2 in Fall 2003:
Exam 2 in Spring 2002:
You may use a formula sheet: postscript version , and version in pdf format .
n
---
p(x) = > l (x) f
--- i i
i=0
with
n x - x
--- j
l (x) = | | -----
i j=0 x - x
j/=i i j
satisfies
p(x ) = f for i = 0,1,..,n.
i i
1 3 2 5 17 7 62 9 10
tan(x) = x + --- x + --- x + ---- x + ----- x + O(x )
3 15 315 2835
Use this Maclaurin expansion to construct a Padé approximation
for tan(x) as a quotient of two quadrics.
2
x + 3 x - 1
r(x) = --------------
2
x - 1
Write pseudo-code for Richardson extrapolation to compute a table with n rows using one of the formulas you derived above.
1
/ x
I = | e dx
/
0
Write your answers to the questions below with six decimal places.
b
/ ( a+b )
| f(x) dx is (b-a) f (-----)
/ ( 2 )
a
Give the formula for the composite midpoint rule that applies
the midpoint rule to n equally sized subintervals of [a,b].
b
/ b-a
| f(x) dx = --- ( f(a) + 4*f((a+b)/2) + f(b) )
/ 6
a
3a
/
| f(x) dx
/
a
by the rule w_1 f(a) + w_2 f(2a) + w_3 f(3a).
Please note the policy on skipping exams:
What this means is that if you decide not to take one midterm exam, your final exam will be weighted for one hundred points more.
What it does NOT mean is that you can drop the score of a midterm exam. If you take the midterm, then your score counts. So, please be prepared when you show up for the exam.