Design of transistor amplifier