Express the probability to have errors as Poisson distribution (exponential form). Build an exponential function between expectation values of different error rates to find the ideal expectation value.