Difference between revisions of "Area Command"
From GeoGebra Manual
m |
(command syntax: changed [ ] into ( )) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}} | ||
− | ; Area | + | ; 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 | + | ; 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 | + | ; 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) | ||
* 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: | + | *See also the [[File:Mode area.svg|link=|24px]] [[Area Tool|Area]] tool.}} |
Latest revision as of 09: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.