An alternating current supply is connected to an electric lamp which lights with the same…