Exercise 4.2 An NMOS amplifier circuit

Given in the amplifier circuit schematic below.

pict

a)
Derive an expression for the drain current ID1 expressed in terms of circuit parameters (component values, component parameters (K, V TH, etc.), supply voltage, etc.). Note that vin is a small signal voltage source with DC value = 0.
b)
Draw a small signal equivalent circuit.
c)
Derive an equation for the voltage gain av = voutvin of this circuit. For simplicity reasons, you may assume that the capacitor is low ohmic at signal frequencies.
d)
Derive an equation for the output impedance rout of this circuit. For simplicity reasons, you may assume that the capacitor is low ohmic at signal frequencies.
e)
Derive an equation for the output impedance rout of this circuit. For simplicity reasons, you may assume that the capacitor is low ohmic at signal frequencies.