https://github.com/stackofsugar/binomial_calculator
https://github.com/stackofsugar/binomial_calculator
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stackofsugar/binomial_calculator
- Owner: stackofsugar
- Created: 2020-11-06T12:34:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T15:49:29.000Z (over 5 years ago)
- Last Synced: 2025-03-02T03:25:25.108Z (over 1 year ago)
- Language: C++
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Binomial Calculator
A "simple" calculator that calculates binomial probability (and it's cumulative counterpart) given spesific parameters, refer below.

To calculate a probability (or cumulative probabilities) of a binomial problem, this program accepts inputs of:
- p (probability of single-trial success)
- n (number of trials)
- x (number of times for a specific outcome within trials)
### Constraints
- 0 ≤ p ≤ 1
- n, x > 0
- x ≤ n
- n,x is whole number