Source: https://www.alloschool.com/assets/documents/course-144/probabilites-cours-2-8.pdf