Analyzing circuits with widely separated time scales using numerical PDE methods