文件名称:xxcz
- 所属分类:
- 数值算法/人工智能
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- loseh*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
对于f(x)=1/(1+x^2) (-5<= x <=5)
要求选取11个等距插值节点,分别采用拉格朗日插值和分段线性插值,计算x为0.5, 4.5处的函数值并将结果与精确值进行比较。
输入:区间长度,n(即n+1个节点),预测点
输出:预测点的近似函数值,精确值,及误差
-For f (x) = 1/(1+ x ^ 2) (-5 < = x < = 5) asked to select 11 equidistant interpolation nodes, respectively, using the Lagrange interpolation and piecewise linear interpolation to calculate x for the 0.5, 4.5 and the results of the function values compared with the accurate value. Input: interval length, n (ie n+1 nodes), the forecast points, Output: forecast of the approximate function value points, accurate values, and error
要求选取11个等距插值节点,分别采用拉格朗日插值和分段线性插值,计算x为0.5, 4.5处的函数值并将结果与精确值进行比较。
输入:区间长度,n(即n+1个节点),预测点
输出:预测点的近似函数值,精确值,及误差
-For f (x) = 1/(1+ x ^ 2) (-5 < = x < = 5) asked to select 11 equidistant interpolation nodes, respectively, using the Lagrange interpolation and piecewise linear interpolation to calculate x for the 0.5, 4.5 and the results of the function values compared with the accurate value. Input: interval length, n (ie n+1 nodes), the forecast points, Output: forecast of the approximate function value points, accurate values, and error
(系统自动生成,下载前可以参看下载内容)
下载文件列表
11.cpp