1. The lifetime T (in days) of an electrical component has reliability function given by: R(t) = e-0.01t for time t > 0. An electrical system consists of four such components. The system continues to function if at least one component is still 'alive' and the system is repaired (by replacing all the components) when all components have expired.
(a) Find the probability density function (PDF) of T, the lifetime of a component in the system.
(b) Show that this is a valid PDF.
(c) Find the reliability function for the system.
(d) Find the probability that the system lasts for longer than 1 year (365 days).
(e) Simulate the lifetime of the system.
(f) Set the random number seed using set.seed(1). Then simulate 20 lifetimes for the system. Calculate the sample mean lifetime of the system using your 20 simulated values.