uniform_distribution function
The continuous distribution that is equally likely anywhere between a and b.
How to write it
uniform_distribution(a, b)
- a
- The lower end. Takes an expression.
- b
- The upper end, above a. Takes an expression.
Examples
uniform_distribution(a, b)Open in the solverprobability(1/2 < x < 3/2, distributed(x, uniform_distribution(0, 2)))In the solver,
Open in the solverprobability(1/2 < x < 3/2, distributed(x, uniform_distribution(0, 2)))gives1/2.
Functions its examples use
- probability
The probability that a condition holds for a variable with a distribution.
- distributed
A variable and the distribution it follows, as probability and expectation read it.
Related functions
- stationary_distribution
The law a process settles into over time, when it has one.
- weibull_distribution
The lifetime of a unit whose chance of surviving to time x is e^(-(x/scale)^shape).
- binomial_distribution
The number of successes in n independent trials that each succeed with chance p.
- poisson_distribution
The number of events in a period when they come at an average rate lambda.
- normal_distribution
The normal distribution with mean mu and standard deviation sigma.
- exponential_distribution
The waiting time for events that come at rate lambda.