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 Solvers187
Suggested Problems
-
3288 Solvers
-
Getting the indices from a vector
9799 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
11356 Solvers
-
Generate a random matrix A of (1,-1)
313 Solvers
-
07 - Common functions and indexing 4
409 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!