Source: https://www4.ac-nancy-metz.fr/mathematiques/SPIP/IMG/pdf/mc_-_sequence_-_repartition_des_richesses_-_courbe_de_lorenz_et_indice_de_gini.pdf