photo

Vin Sen Lee


Attivo dal 2016

Followers: 0   Following: 0

Statistica

Feeds

Visto da

Domanda


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...

quasi 9 anni fa | 1 risposta | 0

1

risposta

0

risposte

Domanda


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 ...

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

quasi 9 anni fa | 4 risposte | 0

4

risposte

Domanda


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...

quasi 9 anni fa | 0 risposte | 0

0

risposte