Qurak

What are the chances: at least once, expected count, the tail

ワークフロー 5 ステップを1つのセッション内で順に実行します。各ステップはエンジンで実行済みで、以下の出力は実際に生成されたものです。

ステップ 1
atLeastOnce[p_, n_] := 1 - (1 - p)^n

出力なし - このステップは次のステップの準備をします。

ステップ 2
N[atLeastOnce[1/100, 50]]
出力
0.3949939328624633
ステップ 3
expectedHits = 50 (1/100)
出力
1/2
ステップ 4
atLeastTwice = N[1 - (1 - 1/100)^50 - 50 (1/100) (1 - 1/100)^49]
出力
0.08943531309603069
ステップ 5
Plot[atLeastOnce[1/100, n], {n, 0, 300}]
出力
-Graphics-

使用する関数

関連レシピ

すべてのレシピ · 関数リファレンス · MCPクライアントから使う