area - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


geometry

  

area

  

compute the area of a triangle, square, circle, or ellipse

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

area(obj)

Parameters

obj

-

triangle, square, circle, or ellipse.

Description

• 

The routine area returns the area of the input object which is a triangle, a square, a circle, or an ellipse.

• 

The command with(geometry,area) allows the use of the abbreviated form of this command.

Examples

> 

with⁡geometry:

> 

triangle⁡ABC,point⁡A,0,0,point⁡B,2,0,point⁡C,1,3:

> 

area⁡ABC

3

(1)
> 

square⁡Sqr,point⁡A,1,−212+1,point⁡B,212+1,1,point⁡C,1,212+1,point⁡E,−212+1,1:

> 

area⁡Sqr

4

(2)
> 

circle⁡c,point⁡OO,−3,2,2:

> 

area⁡c

4⁢π

(3)
> 

ellipse⁡e,x216+y29=1,x,y:

> 

area⁡e

12⁢π

(4)

See Also

geometry[circle]

geometry[ellipse]

geometry[square]

geometry[triangle]