CSCI 3656 Problem Set 7 solution

$14.99

Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment

Description

5/5 - (5 votes)

1. [10 pts] Use Newton’s divided differences to fit a parabola to the last three points
in your data set from PS6. Do you get the same polynomial as you did in problem
3 of that problem set? Should you?
2. [16 pts] Problem 2 on page 156 of the textbook. (Note: there is no Theorem 3.3
in the book. He meant Theorem 3.4.)
3. [24 pts] In your favorite programming language, implement a program that takes
a bunch of (x, f(x)) pairs, computes the corresponding cubic natural splines, and
draws the curve defined by those equations. (It should also plot the points themselves, so that you can see whether the spline curve goes through them.) Test your
code out on the following data set. Please turn in a plot of the results as well as a
copy of your code.
x f(x)
1 1
2 3
3 2
4 1
5 2
6 4
7 5
1