You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
304 B
17 lines
304 B
const int x = 5;
|
|
|
|
// Is probability of throwing x > 0.1?
|
|
// RESULT: true
|
|
P>0.1 [ F s=7 & d=x ]
|
|
|
|
// Probability of throwing 6?
|
|
// RESULT: 1/6
|
|
P=? [ F s=7 & d=6 ]
|
|
|
|
// Probability of throwing x?
|
|
// RESULT: 1/6
|
|
P=? [ F s=7 & d=x ]
|
|
|
|
// Expected number of coin flips to complete?
|
|
// RESULT: 11/3
|
|
R=? [ F s=7 ]
|