Source: http://math-pdr.com/variante/E_c_matematica_M_tehnologic_2014_bar_07_LRO.pdf