Question

In: Statistics and Probability

A sensor controlled car-robot completes a path maze a couple of times, learning after each try....


A sensor controlled car-robot completes a path maze a couple of times, learning after each try.

It's success probability is:

P(x)=1- e^-x/2


For the x'th try (x = 1,2,3...) the cars actions are not dependent on success of previous tries.
A random var R is created - as the outcome of attempted number of tries.
If a successful event is called '1' ( meaning at least 1) and failed try is '0' (no success)
i). What is the expectation value for R of the first 2 consecutive attempts?
ii). What is the probability of success in first 2 consecutive attempts?


Solutions

Expert Solution

let X1 be a random variable where

X1=1 the first attempt results in a success

0 the attempt results in a failure

then

X1=1 P(X)=1-e^(-x/2)

0 1-P(x)=e^(-x/2)

similarly

X2 be the random variable corresponding to the second attempt

X2=1 P(X)=1-e^(-x/2)

0 1-P(x)=e^(-x/2)

Then R is a random variable for a attempted no. of tries

then

I) expected value of R in first two consecutive attempt

meaning R=X1+X2

E(R)=E(X1)+E(X2)

now if we carefully look at the distribution of X1 and X2 we will see that both of them follow bernoulli distribution with probability of success 1-e^(-x/2)

expectation of a bernoulli(p) distribution is p

then

E(R)=1 - e^(-x/2) + 1 - e^(-x/2)

=2 -2 e^(-x/2)

2) now since X1 and X2 follows bernoulli(p) then R follows a binomial distribution with parameters n=2 and p=1-e^(x/2)

Then we need to find

  

We were unable to transcribe this image

We were unable to transcribe this image


Related Solutions

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT