Thevenin's theorem analysis