calculate_probability_binomial
Compute binomial probability P(X=k) and cumulative probability P(X≤k) for given number of trials, successes, and success probability. Returns exact probability, cumulative probability, and standard deviation.
Instructions
Calculate binomial probability P(X=k) and cumulative P(X<=k). Returns: {exact_probability, cumulative_probability, std_deviation}. See list_bundles for related 'education' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Number of trials | |
| k | Yes | Number of successes | |
| p | Yes | Probability of success per trial |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |