Wolfram言語には,確率,および何百もの記号的分布を扱える広範な関数が含まれています.
数学表記を使って階乗を計算します:
In[1]:= | ![]()
⨯
5! |
Out[1]= | ![]() |
組合せには,Binomialを使います:
In[2]:= | ![]()
⨯
Binomial[4, 3] |
Out[2]= | ![]() |
二項分布の確率を計算します:
(
の記号は,ESCdistESCとタイプして入力します.)
In[1]:= | ![]()
⨯
Probability[x == 1, x \[Distributed] BinomialDistribution[1, 1/2]] |
Out[1]= | ![]() |
多項式の期待値を計算します:
In[2]:= | ![]()
⨯
Expectation[2 x + 3, x \[Distributed] NormalDistribution[]] |
Out[2]= | ![]() |