Problem 45461. Box
Return the volume of a box, provided x is equal to the box diagonal.
Solution Stats
Problem Comments
-
3 Comments
Paresh yeole
on 6 Jun 2020
The test suite directly gives away the solution. Please update the test suite.
goc3
on 29 Sep 2020
The test suite has been updated to not reveal the solution.
Andrew Newell
on 7 Nov 2020
This is only correct for a cubic box, not a general box.
Solution Comments
Show commentsProblem Recent Solvers185
Suggested Problems
-
Swap the first and last columns
20299 Solvers
-
Back to basics 9 - Indexed References
439 Solvers
-
406 Solvers
-
Replace every 3rd element in a vector with 4
248 Solvers
-
209 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!