Source: http://ekladata.com/uuXEMwvSLBCQfDM0B7UTVPFPDMM/Exercice-Chaine-d-energie-et-d-information-BARRIERE-AUTOMATIQUE.pdf