Source: https://download.tuxfamily.org/tehessinmath/les pdf/f(x,y).pdf