compute the volume of a sphere, regular polyhedron, general tetrahedron, or parallelepiped - Maple Help

Home : Support : Online Help : Mathematics : Geometry : 3-D Euclidean : Polyhedra : geom3d/volume

geom3d[volume] - compute the volume of a sphere, regular polyhedron, general tetrahedron, or parallelepiped

 Calling Sequence volume(obj)

Parameters

 obj - sphere, regular polyhedron, general tetrahedron, or parallelepiped

Description

 • The routine volume returns the volume of the input object which is a sphere, a regular polyhedron, a general tetrahedron, or a parallelepiped.
 • The command with(geom3d,volume) allows the use of the abbreviated form of this command.

Examples

 > $\mathrm{with}\left(\mathrm{geom3d}\right):$

Define a cube with center (0,0,0), radius of the circum-sphere 1

 > $\mathrm{cube}\left(c,\mathrm{point}\left(o,0,0,0\right),1\right)$
 ${c}$ (1)
 > $\mathrm{volume}\left(c\right)$
 $\frac{{8}}{{9}}{}\sqrt{{3}}$ (2)