This is a variation of the previous demo. This time, you can use any region such that f(x) ≤ y ≤ g(x) and x is between two constants. The default example finds the center of mass of a kite.