文件名称:hw2.cpp
介绍说明--下载内容均来自于网络,请自行研究使用
用算法构造Langrange插值多项式 和 Newton多项式,分别取两组插值节点,并与精确值比较,得出误差。并按如下形式输出
N=5
Max Error of grid (1) : XXXXXXXXXXXXXXXXX
Max Error of grid (2) : XXXXXXXXXXXXXXXXX
-Algorithm structure with Langrange polynomial interpolation polynomial and Newton, respectively, were interpolated from the node, and accurate value comparison, the error. The following forms of output and N = 5 Max Error of grid (1): XXXXXXXXXXXXXXXXX Max Error of grid (2): XXXXXXXXXXXXXXXXX
N=5
Max Error of grid (1) : XXXXXXXXXXXXXXXXX
Max Error of grid (2) : XXXXXXXXXXXXXXXXX
-Algorithm structure with Langrange polynomial interpolation polynomial and Newton, respectively, were interpolated from the node, and accurate value comparison, the error. The following forms of output and N = 5 Max Error of grid (1): XXXXXXXXXXXXXXXXX Max Error of grid (2): XXXXXXXXXXXXXXXXX
(系统自动生成,下载前可以参看下载内容)
下载文件列表
hw2.cpp