Statistics & Probability
Uniform PDF
Density of a continuous uniform distribution.
Formula
Formula
f = 1b − a on [a, b]
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| a, b | interval bounds | real number (ℝ) | — | input |
| x | value | real number (ℝ) | — | input |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givena = 0, b = 10, x = 5
Result0.1
Example 2
Givena = 2, b = 4, x = 1
Result0