# Binomial distribution formula in Delphi

Hello, I state that I am an amateur and that every now and then I enjoy making some calculation programs with Delphi for private use; I would like to understand how to obtain the same result that you have with excel using the [login to view URL] formula, where you just have to enter these 3 data to calculate the% that an event happens.

The inputs are:

[login to view URL] of trials

[login to view URL] of the event (number with at least 2 decimals)

[login to view URL] of sorties

For example, if in excel I use the BINOM DISTRIBUTION formula and insert the following values:

[login to view URL] of trials = 100

2. Probability of the event = 2.7

[login to view URL] of sorties = 4

The result is 28.56% which means that the probability that an event with 2.7% success will occur 4 times out of 100 trials is 28.56%.

I searched the net for some code examples, but I didn't find anything that came even remotely in order to possibly adapt it to my needs ...

Evner: Delphi

Om arbejdsgiveren:
( 0 bedømmelser ) Rome, Italy

Projekt ID: #28329604

## Tildelt til:

nkrndija

Hi I have a ready solution - a Delphi function that returns the individual term binomial distribution probability. Send me a message so I can send you a demo.

€20 EUR på 1 dag
(2 bedømmelser)
2.1