- #1
photon342
- 1
- 0
Homework Statement
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?
Homework 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.
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.