Difference between revisions of "Area Command"
From GeoGebra Manual
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
(command syntax: changed [ ] into ( )) |
||
Line 2: | Line 2: | ||
; Area( <Point>, ..., <Point> ) | ; Area( <Point>, ..., <Point> ) | ||
: Calculates the area of the polygon defined by the given points. | : Calculates the area of the polygon defined by the given points. | ||
− | :{{example|1= | + | :{{example|1=<code>Area((0, 0), (3, 0), (3, 2), (0, 2))</code> yields ''6''.}} |
; Area( <Conic> ) | ; Area( <Conic> ) | ||
: Calculates the area of a conic section (circle or ellipse). | : Calculates the area of a conic section (circle or ellipse). | ||
− | :{{example|1= | + | :{{example|1=<code>Area(x^2 + y^2 = 2)</code> yields ''6.28''.}} |
; Area( <Polygon> ) | ; Area( <Polygon> ) | ||
: Calculates the area of the polygon. | : Calculates the area of the polygon. | ||
− | {{ | + | {{Notes|1= |
* for Polygons, the absolute value of the Algebraic Area is calculated (which gives unexpected answers for self-intersecting polygons) | * for Polygons, the absolute value of the Algebraic Area is calculated (which gives unexpected answers for self-intersecting polygons) | ||
* In order to calculate the area between two function graphs, you need to use the command [[IntegralBetween Command|IntegralBetween]]. | * In order to calculate the area between two function graphs, you need to use the command [[IntegralBetween Command|IntegralBetween]]. | ||
*See also the [[File:Mode area.svg|link=|24px]] [[Area Tool|Area]] tool.}} | *See also the [[File:Mode area.svg|link=|24px]] [[Area Tool|Area]] tool.}} |
Latest revision as of 10:00, 11 October 2017
- Area( <Point>, ..., <Point> )
- Calculates the area of the polygon defined by the given points.
- Example:
Area((0, 0), (3, 0), (3, 2), (0, 2))
yields 6.
- Area( <Conic> )
- Calculates the area of a conic section (circle or ellipse).
- Example:
Area(x^2 + y^2 = 2)
yields 6.28.
- Area( <Polygon> )
- Calculates the area of the polygon.
Notes:
- for Polygons, the absolute value of the Algebraic Area is calculated (which gives unexpected answers for self-intersecting polygons)
- In order to calculate the area between two function graphs, you need to use the command IntegralBetween.
- See also the Area tool.