A machine in use is replaced by a new machine either when it fails or when it reaches the age of T years. If the lifetimes of successive machines are independent with a common distribution F having density f , show that
(a) the long-run rate at which machines are replaced equals
(b) the long-run rate at which machines in use fail equals
\frac{F(T)}{\int_{0}^{T}{}xf (x) dx +T [1 −F(T )]}