Bernoulli Distribution Calculator
Enter the probability \( p \) and an outcome \( x \) (0 or 1) to compute the CDF, PMF, expected value, variance, and generate a random sample.
Enter a value between 0 and 1 (e.g., 0.3)
Enter 0 or 1
Results
CDF at \( x \):
PMF at \( x \):
Expected Value:
Variance:
Random Sample: