volume - Maple Help

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}{}\sqrt{{3}}}{{9}}$ (2)