n = 138 {\displaystyle ~n=138} - кількість точок m = 7 {\displaystyle ~m=7} - порядок полінома y = a 0 ϕ 0 ( x ) + a 1 ϕ 1 ( x ) + a 2 ϕ 2 ( x ) + . . . + a m ϕ m ( x ) {\displaystyle ~y=a_{0}\phi _{0}(x)+a_{1}\phi _{1}(x)+a_{2}\phi _{2}(x)+...+a_{m}\phi _{m}(x)} ϕ 0 ( x ) = 1 {\displaystyle ~\phi _{0}(x)=1} ϕ 1 ( x ) = x i − 1 m ⋅ ∑ i = 0 m x i {\displaystyle ~\phi _{1}(x)=x_{i}-{\frac {1}{m}}\cdot \sum _{i=0}^{m}{x}_{i}} ϕ 2 ( x ) = ( x i + β m + 1 ) ⋅ ϕ m ( x i ) + γ m + 1 ⋅ ϕ m − 1 ( x i ) {\displaystyle ~\phi _{2}(x)=(x_{i}+\beta _{m+1})\cdot \phi _{m}(x_{i})+\gamma _{m+1}\cdot \phi _{m-1}(x_{i})}
β ( x ) = − ∑ i = 0 m ( t i ⋅ ϕ m − 1 ) 2 / ∑ i = 0 m ( ϕ m − 1 ) 2 {\displaystyle ~\beta (x)=-{\sum _{i=0}^{m}{({t_{i}\cdot \phi _{m-1}})^{2}}}\ /\ {\sum _{i=0}^{m}{({\phi _{m-1}})^{2}}}}
γ ( x ) = − ∑ i = 0 m ( t i ⋅ ϕ m − 2 ⋅ ϕ m − 1 ) / ∑ i = 0 m ( ϕ m − 2 ⋅ ϕ m − 1 ) {\displaystyle ~\gamma (x)=-{\sum _{i=0}^{m}{(t_{i}\cdot \phi _{m-2}\cdot \phi _{m-1})}}\ /\ {\sum _{i=0}^{m}{(\phi _{m-2}\cdot \phi _{m-1})}}}