morphological erosion of image of x^2 sin(x)