千萬建筑資料下載 →
科茨系數(shù)為
C
?n?kn?1???t?t?1???t?k?1??t?k?1???t?n?dt n?k!?n?k!?0n?k
Matlab代碼
function NewtonCotes
for n=1:6
for k=0:n
Cotes(n,k+1)=CotesCoeffsCal(n,k);
end;
end;
return;
function Cotes=CotesCoeffsCal(n,k)
syms t;
a=t*ones(1,n+1);
b=0:1:n;
a=a-b;
a(k+1)=1;
Cotes=int(prod(a),t,0,n);
Cotes=(-1)^(n-k)/n/prod(1:k)/prod(1:n-k)*Cotes;
return;
Cotes =
[ 1/2, 1/2, 0, 0, 0, 0, 0]
[ 1/6, 2/3, 1/6, 0, 0, 0, 0]
[ 1/8, 3/8, 3/8, 1/8, 0, 0, 0]
[ 7/90, 16/45, 2/15, 16/45, 7/90, 0, 0]
[ 19/288, 25/96, 25/144, 25/144, 25/96, 19/288, 0]
[ 41/840, 9/35, 9/280, 34/105, 9/280, 9/35, 41/840]
Newton-Cotes公式.doc下載久久建筑網(wǎng)tenaflycs.com提供大量:建筑圖紙、施工方案、工程書籍、建筑論文、合同表格、標(biāo)準(zhǔn)規(guī)范、CAD圖紙等內(nèi)容。