Up

_scienceMathsVolumeSphere

Retrieve the volume of sphere.

Prototype :

fun [F F I] F

Return : F the volume or nil if error

See also :

Example :

Differents volumes with a radius is at 1.0 and an height is at 2.0. With these values, all volumes are the same.

fun main ()=
	_showconsole;
	
	_fooF _scienceMathsVolumeSphere 1.0 nil SCOLMATHS_VOLUME_SPHERE; 		// 4.188790
	_fooF _scienceMathsVolumeSphere 1.0 2.0 SCOLMATHS_VOLUME_SPHERICAL_CAP; 	// 4.188790
	_fooF _scienceMathsVolumeSphere nil 2.0 SCOLMATHS_VOLUME_SPHERE_CONE_INTERSECT; // 4.188790
	_fooF _scienceMathsVolumeSphere 1.0 2.0 SCOLMATHS_VOLUME_SPHERE_CYLINDER; 	// 4.188790
	0;;

Note