Source: http://www.maths.qmul.ac.uk/~shao/research/notes/nldisp_ex.pdf