An octahedron (not regular) is formed by joining the centers of the faces of a rectangular parallelepiped (see below figure).
Given the dimensions of the rectangular parallelepiped (length, width and height), calculate the volume of the embedded octahedron. Please output the integer part of the volume in modulo 1000003.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers10
Suggested Problems
-
Read a column of numbers and interpolate missing data
2350 Solvers
-
Create a vector whose elements depend on the previous element
782 Solvers
-
Two-output anonymous function?
84 Solvers
-
1380 Solvers
-
Define the operators of function_handles
57 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I can not get your answers for test4 and test5. I checked using symbolic and obtained different answers from yours after passing tests 1-3 (my volume equation is correct).
Hi David, can you publish your solution, please? Thanks.