Solution (source code)

= Solution

For a continuous <random variable>, the <probability density> integrates to the probability of an interval:
$$
\boxed{P(a\leq X\leq b)=\int_a^b f(x)\,dx}.
$$
Individual endpoints have zero probability, so strict or non-strict inequalities give the same answer.