An electric circuit contains 5 components. It is known that 1 of the components is faulty. To determine the faulty component,all 5 components are tested one by one until the faulty component is found. The random variable X represents the number of tests required to determine the faulty component. If all 5 components have an equal chance of being faulty,find the expectation and variance of X.
Thanks for your help.