Calculates the area of a closed loop series.
CAREA(series)
series |
- |
Optional. A series. Defaults to the current Window. |
CAREA(xseries, yseries)
xseries |
- |
Optional. A series. Defaults to the X values of the current Window. |
yseries |
- |
Optional. A series. Defaults to the Y values of the current Window. |
A scalar, the closed loop area..
W1: gsin(1000, 1/1000, 1)
W2: gcos(1000, 1/1000, 1)
W3: xy(w1, w2)
W4: {carea(w3)}
W3 contains a circular series with a radius of 1.0. W4 contains the value 3.14593, the approximate value of π.
W1: 3 * gsin(1000, 1/1000, 1)
W2: 3 * gcos(1000, 1/1000, 1)
W3: xy(w1, w2)
W4: {carea(w3)}
W3 contains a circular series with a radius of 3.0. W4 contains the value 28.274334, the approximate value of 9π
W1: 3 * gsin(1000, 1/1000, 1)
W2: 3 * gcos(1000, 1/1000, 1)
W3: {carea(w1, w2)}
Same as the previous example except the X and Y values are provided as separate series.
CAREA expects a closed loop curve and automatically adds the closing point if the starting point does not equal the ending point.
CAREA is based on AREA and uses the modified Simpson rule to compute the absolute area.
See POLYAREA to compute the area of a closed polygon.