A numerical method to analyze the transmission lines under the influence of external electromagnetic field is presented. Steady state analysis is carried out by the alternating theory and transient analysis is carried out by the numerical inversion of the Laplace transform. The basic equation of the transmission line is expressed by the state equation and its solution is determined by given terminal conditions. This method can be applied to not only single transmission line but also complicated transmission nerwork.