Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions maths/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,12 @@ def vol_spheres_union(


def vol_cuboid(width: float, height: float, length: float) -> float:
"""
r"""
Calculate the Volume of a Cuboid.

:return: multiple of `width`, `length` and `height`
Wikipedia reference: https://en.wikipedia.org/wiki/Cuboid

:return: :math:`width \cdot height \cdot length`

>>> vol_cuboid(1, 1, 1)
1.0
Expand Down
Loading