Study of the Ferranti Effect in a Transmission Line or Cable