Difference between revisions of "Area Command"

From GeoGebra Manual
Jump to: navigation, search
(* for Polygons, the absolute value of the Algebraic Area is calculated (which gives unexpected answers for self-intersecting polygons))
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}}
; 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=<div><code>Area[(0, 0), (3, 0), (3, 2), (0, 2)]</code> yields ''6''.</div>}}
 
:{{example|1=<div><code>Area[(0, 0), (3, 0), (3, 2), (0, 2)]</code> yields ''6''.</div>}}
; 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=<div><code>Area[x^2 + y^2 = 2]</code> yields ''6.28''.</div>}}
 
:{{example|1=<div><code>Area[x^2 + y^2 = 2]</code> yields ''6.28''.</div>}}
; Area[ <Polygon> ]
+
; Area( <Polygon> )
 
: Calculates the area of the polygon.
 
: Calculates the area of the polygon.
 
{{Note|
 
{{Note|

Revision as of 17:17, 7 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.
Note:
  • 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 Mode area.svg Area tool.
© 2024 International GeoGebra Institute