Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

volumeof a sphere

#define _USE_MATH_DEFINES // must include this!
#include <cmath>

return 4/3 * M_PI * r*r*r;
 
PREVIOUS NEXT
Tagged: #volumeof #sphere
ADD COMMENT
Topic
Name
7+2 =