formulas/cone

Cone Formulas

https://en.wikipedia.org/wiki/Cone

Funcs

func initCone(slant, totalArea, height, radius, volume: SomeNumber = 0; pi = PI): Cone
Creates new Cone
func slant=(self: var Cone; value: SomeNumber)
func totalArea=(self: var Cone; value: SomeNumber)
func height=(self: var Cone; value: SomeNumber)
func radius=(self: var Cone; value: SomeNumber)
func volume=(self: var Cone; value: SomeNumber)
func slant(self: Cone): float {...}{.raises: [], tags: [].}
Calculates the cone slant height with height and radius
func sideArea(self: Cone): float {...}{.raises: [], tags: [].}
Calculates the cone side area (cm2) with slant height and radius
func totalArea(self: Cone): float {...}{.raises: [], tags: [].}
Calculates the cone total area (cm2) with slant height and radius
func volume(self: Cone): float {...}{.raises: [], tags: [].}
Calculates the cone volume with height and radius
func radius(self: Cone): float {...}{.raises: [], tags: [].}
Calculates the cone radius with height and volume
func height(self: Cone): float {...}{.raises: [], tags: [].}
Calculates the cone height with height and volume