1

What is the value of the median distance (in m)? (Percentil 50)

l=0.01417
qexp(0.5,l)
## [1] 48.91653
B=(1/0.01417)
1-pexp(3*B,l)
## [1] 0.04978707

2

ppois(7,4)-ppois(3,4)
## [1] 0.5153963
1-ppois(6,4)
## [1] 0.110674
ppois(6,4)
## [1] 0.889326

3

ppois(10,5)-ppois(3,5)
## [1] 0.7212788
1-ppois(9,5)
## [1] 0.03182806

Tarea

b=dbinom(1,2,2/3)
c=dbinom(2,2,2/3)

90000*(b+2*c)
## [1] 120000

Ejercicio

l=15/60
dpois(30,l*3)
## [1] 3.180219e-37
1-pexp(5,l)
## [1] 0.2865048