Exercise 3.5 Biasing an amplifier with an NMOS transistor

The figure below shows a single-transistor amplifier stage. For operation in saturation, iD = 1 2k(vGS V T )2 with V T the threshold voltage of M1. The supply voltage V DD > V T .

pict

a)
Show that M1 works in saturation in this circuit.
b)
Derive an expression for the value of RD to set the bias current of M1 to ID.