Wow, DaveC426913! That's brilliant! Thank you all very much! I am very surprised that such an elegant solution was lurking behind this problem. I wonder how long it would have taken me to solve this myself... For me this was certainly not trivial. This will be very helpful. Thank you again...
No, this is not technically homework and it probably doesn't belong in this section (this is my first post so I am new here). I am trying to map the the volume of space shaded by irregular objects with a light source coming from a given angle (so I can ask an interesting sunlight competition...
Can you solve the volume of "a cube" with unequal heights?
I have a challenge for someone (which I plan on working on this weekend myself when I have free time from my homework).
Can you calculate the volume of a cube-like shape with four different heights and with perfect square base if you...