e^(i Pi)+1=0
- 246
- 1
Homework Statement
Use calculus to derive the volume of a pyramid
The Attempt at a Solution
There's probably a simpler way to go about this, but I wanted a challenge. I decided to calculate 1/4 of the pyramid in the first octant and then multiply my final answer by 4.
First we have a pyramid of height h, length L and width w, (measuring from the origin) so the corners are at (0,0,h), (L,0,0) and (0,w,0).
Calculating the plane that defines this quarter of the pyramid yields
whx+lhy+lw(z-h)=0 so z=h-\frac{hx}{l}-\frac{hy}{w}
We integrate this over dy from 0 to y=\frac{-wx}{l}+w which is the diagonal line the pyramid would make in octant one when looking straight down and then over dx from 0 to L.
Multiply this answer by 4 and we get \frac{2hwl}{3}, so it comes out double for some reason?

Thanks for looking.
Last edited: