Transient analysis using sine wave source