Source: http://ww2.ac-poitiers.fr/math/sites/math/IMG/pdf/geogebra-calculformel.pdf