Resonant Tunneling Diodes: an Exercise