http://dat.etsit.upm.es/~luciano/blog/wp-content/uploads/2009/06/comunicaciones-opticas-parcial-3.pdf