A single observation of random variable having exponential distribution is employed to test the null hypothesis that mean of distribution is ? = 2 against the alternative that it is ? = 5.
If the null hypothesis is accepted if and only if the observed value of random variable is less than 3, determine the probabilities of type I and type II errors.