input equivalent circuit