# Binomial probability distribution integration limits

1. Feb 12, 2010

### photon342

1. The problem statement, all variables and given/known data
I am trying to find the limits of integration (upper and lower) of a known value of the binomial probability distribution. In other words, I know what the integral (area under the prob. dist.) needs to be (0.84 and 0.16), but how can I code a function (say into MATLAB) that will take as input the value of the probability, and give me the integration limits?

2. Relevant equations
the binomial probability distribution - which in kind of lengthy to put in here
the integral of the distribution evaluates the probability of getting a certain value.

3. The attempt at a solution

i've plotted the function in matlab, but don't know how to get the integration limits if the area of the curve in about 68%...
I was thinking some sort of loop, but it may be simpler than that.
1. The problem statement, all variables and given/known data

2. Relevant equations

3. The attempt at a solution