volume_sphere version 0.1

*Calculate the volume of a sphere.*

Run

Source (PHP)

```
function volume_sphere ($radius)
```

{

return (4/3) * pi() * pow($radius,3);

}

Tags

math, geometry

Tools & Information

Rate this algorithm: no ratings yet

Flag: 0 Buggy | 0 Dangerous | 0 Slow | 0 Vandalized

Average run time: 0.000143099 seconds