how to find area under the curve in origin