Source: https://longin.fr/Cours/Cours_Gestion_financiere/reserve/Seance_05/Documents/GF_EX_Calcul_TRI_Methode_de_dichotomie_Correction.pdf