Distributions.jl - pdf() for Continuous Uniform Distribution

I’m stuck on another one :confounded: Any idea how to compute the following with Distributions.jl?

Let Y ∼ Gamma(2, 1/3). Find P(0.5 < Y < 1.5)
# According to the course material, the answer is 0.078

gamma = Gamma(2, 1/3)
cdf(gamma, 1.5) - cdf(gamma, 0.5)
# yields
0.49672591941074196