Description: 给定n个节点xi(i=0,1,...,n-1)上的函数值yi=f[xi],用拉格朗日插值公式计算指定插值点t处的函数近似值z=f[t]-Given n nodes xi [i = 0,1 ,..., n-1] on the function values yi = f [xi], using Lagrange interpolation formula specified interpolation points, t Department of function approximation z = f [t] Platform: |
Size: 1024 |
Author:罗坤 |
Hits:
Description: 动态输入节点个数、各节点数据、积分上下限及精度要求(Romberg精度要求 );
分别用 Lagrange 和 Newtow 插值法计算 p(x) 和 q(x) 在求积节点处的近似值;
分别用梯形公式、辛普森公式和 Romberg 算法计算:
梯形公式、辛普森公式输出T、S,Romberg 算法输出步长、等分数、Tn、Sn、Cn、Rn以及最终的计算结果
-Number of dynamic input nodes, each node of data, points on the lower limit and precision (Romberg accuracy) respectively Lagrange interpolation method and Newtow p (x) and q (x) nodes in the quadrature approximation respectively trapezoidal formula, Simpson and Romberg algorithm formula: trapezoidal, Simpson formula output T, S, Romberg algorithm output step, such as scores, Tn, Sn, Cn, Rn, and the final results Platform: |
Size: 2048 |
Author:liyi |
Hits: