Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. Construct the Newton form of the interpolating polynomial of degree 8 for the function (x) using the data points at x - 8,6, 4,-2,0,

image text in transcribed
. Construct the Newton form of the interpolating polynomial of degree 8 for the function (x) using the data points at x - 8,6, 4,-2,0, 2,4, 6, 8. Part I. Use Maple to do the following task. 1. Create the nine data points 2. Create the divided difference table using the data set 3. Create the Newton form of the interpolating polynomial of degree 8, Pi(x) using the data set. 4. Evaluate fix), Ps(x), and I fx-Pr(x) for the 17 points at x =-8-7,6,5,4,3,-2,-1, 0, 1, 2, 3, 4, 5, 6,7,8 5. Plot fix) and Pio) Part II. Use Visual Studio 2015 to do the following task 1. Create a C++ console application project in Visual Studio 2015 and name your project YourLastName3. 2. Write a program that implements the Newton Interpolation discussed in class 3. Write a separate function for each of the following. You may define and call additional fiunctions. . Computation of divided differences .Evaluation of the interpolating polynomial Must use a nested form as discussed in class. 4. Your program must store divided differences in a single dimensional array 5. All floating point arithmetic will be double precision. 6. Program input: Sequence of x values of data points Sequence of x values to evaluate P(x) 7. Program output .Divided differences at each iteration . Table containing f(x), P(x), )-P( for the 17 data points

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

Explain the focus of behavioral finance.

Answered: 1 week ago

Question

Identify and control your anxieties

Answered: 1 week ago

Question

Understanding and Addressing Anxiety

Answered: 1 week ago