MATH 417 Lecture 14

From Notes
Jump to navigation Jump to search

« previous | Thursday, February 27, 2014 | next »

End Exam 1 content


Exam Review

Section 2.1: Bisection

(#10)

Find root in using bisection:

  1. f(-1.5) < 0
  2. f(2.5) > 0
  3. f(0.5) > 0
  4. f(-0.5) < 0
  5. f(0) = 0 ← stop


Section 2.2: Fixed Point

for

Find and take and recursively find for


  1. for any , we need



In our case, we take :


Find the number of iterations needed to get accuracy :

Choose , now

Therefore take

Newton's Method

,

If is concave-up, choose right endpoint: Newton's method works best when and

In our example above,


Chapter 3: Interpolation

Given , interpolate as a polynomial


Lagrange


Newton

Example: (9th ed: 124 #7): Find polynomial that interpolates at 0, 1, 2, 3 at the point (that is, find ) given:

  • (the line through and )
  • (the line through and )
  • (the parabola through , , and has value at

We know the lines through f(0)

x   f(x)
--------
0    1
        2
1    3       -1
        0             (a-1)/6
2    3       (a-3)/2
        a-3
3    a


Now , hence and .


Therefore, our interpolating polynomial is

and evaluated at , we get

Hermite

A tomato is launched at a height of 10 ft with an initial speed of 10 ft/s. The tomato hits a person standing 50 ft away and has a final speed of -20 ft/s

 x   f(x)  f'(x)
 0    10
            10
 0    10          -51/250
            -1/5           -12/3125
 50   0           -99/250
            -20
 50   0


Whoa! The trajectory of an object is parabolic (disregarding friction or air resistance), and given only two points with derivatives (positions and velocities), we can reconstruct the entire trajectory exactly. The same can be done with three points, since three points uniquely defines a parabola.

Section 4.1: Differentiation

(9th ed. #22) Approximate using , , , to accuracy


Taylor series around :

Multiply equations by , , and , respectively and solve for:


.

We get the following system of equations


Alternatively, we can find via the interpolating polynomial above, but that usually involves more work.


Sections 4.3 and 4.7: Integration

(9th ed. #20)


Find the rule with best DAC (which will be the Gaussian rule since scaling factor is 1/2)

  1. , so

Solve for .

Degree of accuracy is .

Note: Every Gaussian rule is symmetric


(9th ed. #13)

by trapezoid and by simpson's rule. Find .