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