AC and DC gain of amplifier circuits