JMP で微積分を作成するにはどうすればよいですか?
データには現在と時刻などの 2 次元があり、JMP Grapher では曲線をプロットして滑らかにフィットさせることができます。詳細については、下の写真を参照してください。
電気量はどれくらいになるのでしょうか?つまり、曲線の下の面積を計算する方法を知りたいということですか?
数学では、JMP で微積分を作成するにはどうすればよいですか?
以下に簡単な例を示します@Mark_Baileyさんの提案。
Names default to Here(1);
dt = New Table("Example",
Add Rows( 5 ),
New Column( "Time",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values( [0, 2, 4, 6, 8] )
),
New Column( "I",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values(
[0.303858872597443, 0.22418155030798, 0.202170635461688,
0.181779722721203, 0.148724968294765]
)
)
);
//use bivariate for simplicity
biv = dt << Bivariate(
Y( :I ),
X( :Time ),
Fit Polynomial( 3, {Confid Shaded Indiv( 1 ), Line Color( {212, 73, 88} )} ),
SendToReport(
Dispatch(
{},
"2",
ScaleBox,
{Min( 0 ), Max( 0.45 ), Inc( 0.05 ), Minor Ticks( 1 )}
)
)
);
//get the prediction formula string
fm = report(biv)[OutlineBox("Polynomial ?")][TextEditBox(1)] << get text;
//get the string to the right of the equal sign and convert the string to an expression using Parse()
fm = Parse(Trim(word(2, fm, "=")));
area = Integrate(fm, Time, col minimum(:Time), col maximum(:Time));
Caption("The area under this curve is " || char(area));

見るヘルプ>スクリプトインデックスそして検索してください統合する関数。 この関数は、式 (近似モデル) の数値積分を実行します。 この機能の詳細については、索引の「ヘルプ」ボタンを使用してください。
おそらく、適合モデルを新しい列式として保存し、短いスクリプトを使用して式から式を抽出し、それを Integrate() 関数の引数として使用する必要があります。