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
-
Sum all integers from 1 to 2^n
17513 Solvers
-
Vectorize the digits of an Integer
338 Solvers
-
Sum the 'edge' values of a matrix
402 Solvers
-
480 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 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.