Considering there are 15 pool balls, (b), in the game of pool, and given a radius, (r). What is the volume, (V), of a rack in the game of pool?
Solution Stats
Problem Comments
5 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers50
Suggested Problems
-
Set the array elements whose value is 13 to 0
1438 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
286 Solvers
-
Replace every 3rd element in a vector with 4
265 Solvers
-
419 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
You need to fix some issues: you only have one test working, you are rounding to 3 decimal places, and the last test case is false (it should give 502.655)
also you shouldn't use isequal when you use pi.
The test suite has been updated.
The variable tolerance has not been set.
Updated.