photo

Vin Sen Lee


Aktiv seit 2016

Followers: 0   Following: 0

Statistik

Feeds

Anzeigen nach

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

0

Antworten

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


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

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten