How to use C language to realize calculation about the area of the curve track scanning curve of abscissa, every time there is a change, how to find the starting point of the curve, the finish to calculate the area
CodePudding user response:
To convert the surface area of the rectangular area of the sum of the computation, collected more than enough for each point and abscissa constitute a rectangular, calculation, the rectangle area and at various pointsCodePudding user response:
And some may be more precise, strives for the trapezoidal area (y0 + y1) * (x1 - x0)/2