Question: nomarical Write a C++ program that does the following: 1- Let f(x) = x + = 2 a. Find Quadratic Lagrange Interpolation based on the
Write a C++ program that does the following: 1- Let f(x) = x + = 2 a. Find Quadratic Lagrange Interpolation based on the nodes: Xo = 1, x1 = 2, and x2 = 2.5 b. Find the approximated value for f(1.7) and f(1.3) Note: you have to show (print) the Quadratic Lagrange Interpolation, then calculate part (b). 2- Compute the divided difference table for the following tabulated data. (Note: a complete table should be printed) k 0 1 WNA Xk 4.0 5.0 6.0 7.0 8.0 f(x) 2.00000 2.23608 2.44948 2.64576 2.82842 2 3 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
