photo

Vin Sen Lee


2016 年からアクティブ

Followers: 0   Following: 0

統計

Feeds

表示方法

質問


Consider a loop of string with unit length. Take n cuts independently and randomly along the string, what is the expected length of the smallest and the largest piece?
This is what I did. The probability is (1+(1-n)x)^n So, expected value of x is it integral for x varies from 0 to 1/n wh...

8年以上 前 | 1 件の回答 | 0

1

回答

0

回答

質問


Write a program to produce the probability density function of binomial distribution
i.e. a function that only returns 2 possible values(0 and 1). The probability of returning 0 is p, the probability returning 1 ...

8年以上 前 | 1 件の回答 | 0

1

回答

質問


Write a function so that, when given a natural number N, the function returns the value max  n ∈ N : 12 + 22 + · · · + n 2 ≤ N
Write a function so that, when given a natural number N, the function returns the value max  n ∈ N : 12 + 22 + · · · + n 2 ...

8年以上 前 | 4 件の回答 | 0

4

回答

質問


Write a program to produce the probability density function of binomial distribution, i.e. a function that only returns 2 possible values(0 and 1). The probability of returning 0 is p, the probability returning 1 is q. where p + q = 1.
Write a program to produce the probability density function of binomial distribution, i.e. a function that only returns 2 possi...

8年以上 前 | 0 件の回答 | 0

0

回答