what is the median waiting time for f(x)=((1/8)e^(-x/8))?

I said the answer was 5.55

is this correct? thank you!

Is f(x) the probability of waiting x?

If so, the mean time is
Integral x* f(x) dx/Integral f(x) dx
Both integrals go from 0 to infinity.
The denominator integral is 1.

mean waiting time = Integral x* f(x) dx
= Integral (x/8) e^(-x/8) dx
= Integral 8u e^-u du where u = x/8 and du = dx/8
= 8*1 = 8 of whatever the time unit is.