Surface Area/Volume Calc Help Needed
Moderator: Alyrium Denryle
- MKSheppard
- Ruthless Genocidal Warmonger
- Posts: 29842
- Joined: 2002-07-06 06:34pm
Surface Area/Volume Calc Help Needed
Using this as an example:
Basically, it's for tanksharp; I'd like to figure out the following:
Total Volume:
The surface area for each facet.
And I'm pretty much beating my head over it
Basically, it's for tanksharp; I'd like to figure out the following:
Total Volume:
The surface area for each facet.
And I'm pretty much beating my head over it
"If scientists and inventors who develop disease cures and useful technologies don't get lifetime royalties, I'd like to know what fucking rationale you have for some guy getting lifetime royalties for writing an episode of Full House." - Mike Wong
"The present air situation in the Pacific is entirely the result of fighting a fifth rate air power." - U.S. Navy Memo - 24 July 1944
"The present air situation in the Pacific is entirely the result of fighting a fifth rate air power." - U.S. Navy Memo - 24 July 1944
- Fingolfin_Noldor
- Emperor's Hand
- Posts: 11834
- Joined: 2006-05-15 10:36am
- Location: At the Helm of the HAB Star Dreadnaught Star Fist
- Kuroneko
- Jedi Council Member
- Posts: 2469
- Joined: 2003-03-13 03:10am
- Location: Fréchet space
- Contact:
Assuming that the opposing faces, except the top and bottom, are congruent and the top is parallel and centered relative to the bottom (and are both rectangular), let h be the height, L,W be the length and width at the bottom and l,w at the top, respectively. Then the areas are:
bottom: LW; top: lw; front/back: s(w+W)/2; left/right: S(l+L)/2,
where the slant heights are: s = sqrt[(L-l)²/4+h²], S = sqrt[(W-w)²/4+h²].
The volume is V = h(LW+lw)/2.
[Edited to correct s/S reversal.]
bottom: LW; top: lw; front/back: s(w+W)/2; left/right: S(l+L)/2,
where the slant heights are: s = sqrt[(L-l)²/4+h²], S = sqrt[(W-w)²/4+h²].
The volume is V = h(LW+lw)/2.
[Edited to correct s/S reversal.]
- MKSheppard
- Ruthless Genocidal Warmonger
- Posts: 29842
- Joined: 2002-07-06 06:34pm
Kuroneko, is that assuming the slope angle on all the angles are the same? What if the front slope is 25 degrees, while the side slopes are 35, and the rear is 15?
"If scientists and inventors who develop disease cures and useful technologies don't get lifetime royalties, I'd like to know what fucking rationale you have for some guy getting lifetime royalties for writing an episode of Full House." - Mike Wong
"The present air situation in the Pacific is entirely the result of fighting a fifth rate air power." - U.S. Navy Memo - 24 July 1944
"The present air situation in the Pacific is entirely the result of fighting a fifth rate air power." - U.S. Navy Memo - 24 July 1944
- Kuroneko
- Jedi Council Member
- Posts: 2469
- Joined: 2003-03-13 03:10am
- Location: Fréchet space
- Contact:
The volume formula is actually correct no matter how the angles are skewed, by Cavalieri's principle. However, the area formulas require the opposite sides to be congruent (except the top and bottom), so if the front slopes at 25°, the back has to slope at 25° as well, although the sides could slope at an angle different from that of the front and back.MKSheppard wrote:Kuroneko, is that assuming the slope angle on all the angles are the same? What if the front slope is 25 degrees, while the side slopes are 35, and the rear is 15?
- Lord Zentei
- Space Elf Psyker
- Posts: 8742
- Joined: 2004-11-22 02:49am
- Location: Ulthwé Craftworld, plotting the downfall of the Imperium.
If that were true, the volume of a pyramid would be:Hawkwings wrote:Average of top and bottom times height. That'll work for both surface area and volume.
(BaseArea + TopArea (=0) ) / 2 * Height
= ½ * BaseArea * Height.
Only it isn't
CotK <mew> | HAB | JL | MM | TTC | Cybertron
TAX THE CHURCHES! - Lord Zentei TTC Supreme Grand Prophet
And the LORD said, Let there be Bosons! Yea and let there be Bosoms too!
I'd rather be the great great grandson of a demon ninja than some jackass who grew potatos. -- Covenant
Dead cows don't fart. -- CJvR
...and I like strudel! -- Asuka
TAX THE CHURCHES! - Lord Zentei TTC Supreme Grand Prophet
And the LORD said, Let there be Bosons! Yea and let there be Bosoms too!
I'd rather be the great great grandson of a demon ninja than some jackass who grew potatos. -- Covenant
Dead cows don't fart. -- CJvR
...and I like strudel! -- Asuka
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
Hmm, it's been so many years since I did geometric stuff like volume and area formulas. Let me see if I can crunch this one up:
EDIT: Hey, Kuroneko's formula looks a helluva lot simpler than mine. Was that integration a big waste of time?
EDIT 2: Oh, I see what happened. He assumed that only two of the faces are sloped.
EDIT 3: Somebody please double-check my work. As much as I like to think I'm infallible, I have this sneaking suspicion that I'm not
EDIT: Hey, Kuroneko's formula looks a helluva lot simpler than mine. Was that integration a big waste of time?
EDIT 2: Oh, I see what happened. He assumed that only two of the faces are sloped.
EDIT 3: Somebody please double-check my work. As much as I like to think I'm infallible, I have this sneaking suspicion that I'm not
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
*fills large container with water, sets inside a tub. Dumps odd-shaped trapezoid into container of water, measures the displaced water.*
TADA!!! VOLUME!
j/k... I have no clue.
TADA!!! VOLUME!
j/k... I have no clue.
Nitram, slightly high on cough syrup: Do you know you're beautiful?
Me: Nope, that's why I have you around to tell me.
Nitram: You -are- beautiful. Anyone tries to tell you otherwise kill them.
"A life is like a garden. Perfect moments can be had, but not preserved, except in memory. LLAP" -- Leonard Nimoy, last Tweet
Me: Nope, that's why I have you around to tell me.
Nitram: You -are- beautiful. Anyone tries to tell you otherwise kill them.
"A life is like a garden. Perfect moments can be had, but not preserved, except in memory. LLAP" -- Leonard Nimoy, last Tweet
Before Calculus I would've spilt that into nine different shapes. Then using trigonometry, I would've found the angles for all the slants and calculated the volume for the pyramids on the corners, the volume of the "skirts" then the volume of the center base using formulas I looked up for a wedge, pyramid and box. Then added.
Well I would've cheated since the pyramids are on a slant and I would assume Cavalieri's Principle. I didn't hear of it until multivariable Calculus (year two)... all the three-dimensional volume we calculated in year one was solids of revolution. But Cavalieri's Principle seems intuitive to me.
Take a look at this Shep, for some intuition.
Well I would've cheated since the pyramids are on a slant and I would assume Cavalieri's Principle. I didn't hear of it until multivariable Calculus (year two)... all the three-dimensional volume we calculated in year one was solids of revolution. But Cavalieri's Principle seems intuitive to me.
Take a look at this Shep, for some intuition.
I feel compelled to point out that the trapezoid is specified using the base width and length, height, and angles the armor is sloped at front, rear, and sides.
"preemptive killing of cops might not be such a bad idea from a personal saftey[sic] standpoint..." --Keevan Colton
"There's a word for bias you can't see: Yours." -- William Saletan
"There's a word for bias you can't see: Yours." -- William Saletan
Why in the world are you just kidding? If it's a real world solid you're talking about, your method will actually be more accurate than a mathematical derivation, assuming good instruments. If it's a container, you do the same thing inverted by filling it with water and measuring that. Really, this is a standard MO in a chem lab for testing the actual volume of your glassware.LadyTevar wrote:*fills large container with water, sets inside a tub. Dumps odd-shaped trapezoid into container of water, measures the displaced water.*
TADA!!! VOLUME!
j/k... I have no clue.
Now, given that this is not a real world object we're dealing with, you have to do the maths. Even so, you suggested what I would have if you hadn't beaten me to it.
I'd comment on the maths too, but it's been two years since I've had to touch calculus in much detail, so I'd probably bungle it more badly than everyone who has come before me.
"Hey, gang, we're all part of the spleen!"
-PZ Meyers
-PZ Meyers
I was just kidding for the reason you mentioned... It's not a real-world object
Nitram, slightly high on cough syrup: Do you know you're beautiful?
Me: Nope, that's why I have you around to tell me.
Nitram: You -are- beautiful. Anyone tries to tell you otherwise kill them.
"A life is like a garden. Perfect moments can be had, but not preserved, except in memory. LLAP" -- Leonard Nimoy, last Tweet
Me: Nope, that's why I have you around to tell me.
Nitram: You -are- beautiful. Anyone tries to tell you otherwise kill them.
"A life is like a garden. Perfect moments can be had, but not preserved, except in memory. LLAP" -- Leonard Nimoy, last Tweet
- Kuroneko
- Jedi Council Member
- Posts: 2469
- Joined: 2003-03-13 03:10am
- Location: Fréchet space
- Contact:
Ack, I did. I certainly didn't intend to assume it; I wasn't thinking clearly.Darth Wong wrote:Hey, Kuroneko's formula looks a helluva lot simpler than mine. Was that integration a big waste of time?Oh, I see what happened. He assumed that only two of the faces are sloped.
It's completely correct. As an additional special case, l0w1 = w0l1 iff the shape is a frustum, which has V = [h/3][A0 + A + A1], where A1, A0 are the areas of the top and bottom faces, respectively, and A = sqrt[A0A1] is their geometric mean.Darth Wong wrote:Somebody please double-check my work. As much as I like to think I'm infallible, I have this sneaking suspicion that I'm not.
Because the solution is simpler with calculus. With trig, as far as I can see, you'd have to break up the shape into several separate sections and grind out the volume, as opposed to a single integration as in Darth Wong's proof.Beowulf wrote:Also, why are people using calculus? It's a mostly simple trig problem!
A Government founded upon justice, and recognizing the equal rights of all men; claiming higher authority for existence, or sanction for its laws, that nature, reason, and the regularly ascertained will of the people; steadily refusing to put its sword and purse in the service of any religious creed or family is a standing offense to most of the Governments of the world, and to some narrow and bigoted people among ourselves.
F. Douglass
- Fingolfin_Noldor
- Emperor's Hand
- Posts: 11834
- Joined: 2006-05-15 10:36am
- Location: At the Helm of the HAB Star Dreadnaught Star Fist
Erm.. no need. Assuming the length is uniform, and the trapezium sides are perpendicular to the surface, the old volume = surface area *length still works.Surlethe wrote:Because the solution is simpler with calculus. With trig, as far as I can see, you'd have to break up the shape into several separate sections and grind out the volume, as opposed to a single integration as in Darth Wong's proof.Beowulf wrote:Also, why are people using calculus? It's a mostly simple trig problem!
STGOD: Byzantine Empire
Your spirit, diseased as it is, refuses to allow you to give up, no matter what threats you face... and whatever wreckage you leave behind you.
Kreia
Your spirit, diseased as it is, refuses to allow you to give up, no matter what threats you face... and whatever wreckage you leave behind you.
Kreia
- Fingolfin_Noldor
- Emperor's Hand
- Posts: 11834
- Joined: 2006-05-15 10:36am
- Location: At the Helm of the HAB Star Dreadnaught Star Fist
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
Did you not bother reading the thread? That assumption is false.Fingolfin_Noldor wrote:Erm.. no need. Assuming the length is uniform, and the trapezium sides are perpendicular to the surface, the old volume = surface area *length still works.
PS. If Beowulf is so sure that a trigonometry solution would be simpler, perhaps he could demonstrate by showing us one. The reason for the invention of calculus in the first place was because it made so many kinds of math problems so much easier.
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
- Fingolfin_Noldor
- Emperor's Hand
- Posts: 11834
- Joined: 2006-05-15 10:36am
- Location: At the Helm of the HAB Star Dreadnaught Star Fist
Yes. My bad. Apologies.Darth Wong wrote:Did you not bother reading the thread? That assumption is false.Fingolfin_Noldor wrote:Erm.. no need. Assuming the length is uniform, and the trapezium sides are perpendicular to the surface, the old volume = surface area *length still works.
PS. If Beowulf is so sure that a trigonometry solution would be simpler, perhaps he could demonstrate by showing us one. The reason for the invention of calculus in the first place was because it made so many kinds of math problems so much easier.
STGOD: Byzantine Empire
Your spirit, diseased as it is, refuses to allow you to give up, no matter what threats you face... and whatever wreckage you leave behind you.
Kreia
Your spirit, diseased as it is, refuses to allow you to give up, no matter what threats you face... and whatever wreckage you leave behind you.
Kreia
Right: the reason calculus is so powerful is it frees you from those constricting assumptions. In this example, a tank shaped like a cylinder or trapezoidal prism wouldn't be much use, and for more detailed predictions about performance, weight, armor strength, etc., you need more accurate values for the surface area of the armor and the volume of the tank.Fingolfin_Noldor wrote:Addendum: I do agree that if it isn't then one has to use Integration however, especially if it isn't a symmetry shape.
A Government founded upon justice, and recognizing the equal rights of all men; claiming higher authority for existence, or sanction for its laws, that nature, reason, and the regularly ascertained will of the people; steadily refusing to put its sword and purse in the service of any religious creed or family is a standing offense to most of the Governments of the world, and to some narrow and bigoted people among ourselves.
F. Douglass
- MKSheppard
- Ruthless Genocidal Warmonger
- Posts: 29842
- Joined: 2002-07-06 06:34pm
So using this
And the following Numbers:
Height 50 cm
Base Length (lo) 100 cm
Base Width (wo) 100 cm
Top Length (l1) 100 cm
Top Width (w1) 100 cm
gives me:
Volume 500,000 cm3
Did I do it right, or did I cock it up horribly?
And the following Numbers:
Height 50 cm
Base Length (lo) 100 cm
Base Width (wo) 100 cm
Top Length (l1) 100 cm
Top Width (w1) 100 cm
gives me:
Volume 500,000 cm3
Did I do it right, or did I cock it up horribly?
"If scientists and inventors who develop disease cures and useful technologies don't get lifetime royalties, I'd like to know what fucking rationale you have for some guy getting lifetime royalties for writing an episode of Full House." - Mike Wong
"The present air situation in the Pacific is entirely the result of fighting a fifth rate air power." - U.S. Navy Memo - 24 July 1944
"The present air situation in the Pacific is entirely the result of fighting a fifth rate air power." - U.S. Navy Memo - 24 July 1944
- Gil Hamilton
- Tipsy Space Birdie
- Posts: 12962
- Joined: 2002-07-04 05:47pm
- Contact:
Doesn't the top length and width of your shape have to be shorter than the base length to achieve that particular object? If the base length and width and the top length and width are 100cm, then it's just a rectangular prism and you arrive at the same number you got by multiplying length, width, and height.
"Show me an angel and I will paint you one." - Gustav Courbet
"Quetzalcoatl, plumed serpent of the Aztecs... you are a pussy." - Stephen Colbert
"Really, I'm jealous of how much smarter than me he is. I'm not an expert on anything and he's an expert on things he knows nothing about." - Me, concerning a bullshitter
"Quetzalcoatl, plumed serpent of the Aztecs... you are a pussy." - Stephen Colbert
"Really, I'm jealous of how much smarter than me he is. I'm not an expert on anything and he's an expert on things he knows nothing about." - Me, concerning a bullshitter