Surface Area/Volume Calc Help Needed

SLAM: debunk creationism, pseudoscience, and superstitions. Discuss logic and morality.

Moderator: Alyrium Denryle

User avatar
MKSheppard
Ruthless Genocidal Warmonger
Ruthless Genocidal Warmonger
Posts: 29842
Joined: 2002-07-06 06:34pm

Surface Area/Volume Calc Help Needed

Post by MKSheppard »

Using this as an example:

Image

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
User avatar
Fingolfin_Noldor
Emperor's Hand
Posts: 11834
Joined: 2006-05-15 10:36am
Location: At the Helm of the HAB Star Dreadnaught Star Fist

Post by Fingolfin_Noldor »

Is that trapezium perpendicular to the surface?
Image
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
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Post by Kuroneko »

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.]
User avatar
MKSheppard
Ruthless Genocidal Warmonger
Ruthless Genocidal Warmonger
Posts: 29842
Joined: 2002-07-06 06:34pm

Post by MKSheppard »

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
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Post by Kuroneko »

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?
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.
User avatar
Hawkwings
Sith Devotee
Posts: 3372
Joined: 2005-01-28 09:30pm
Location: USC, LA, CA

Post by Hawkwings »

Average of top and bottom times height. That'll work for both surface area and volume. For surface area, use lengths of top and bottom, while for area, use surface area of top and bottom.
User avatar
Hawkwings
Sith Devotee
Posts: 3372
Joined: 2005-01-28 09:30pm
Location: USC, LA, CA

Post by Hawkwings »

Hawkwings wrote:Average of top and bottom times height. That'll work for both surface area and volume. For surface area, use lengths of top and bottom multiplied by slant height, while for area, use surface area of top and bottom multiplied by perpendicular height.
User avatar
Lord Zentei
Space Elf Psyker
Posts: 8742
Joined: 2004-11-22 02:49am
Location: Ulthwé Craftworld, plotting the downfall of the Imperium.

Post by Lord Zentei »

Hawkwings wrote:Average of top and bottom times height. That'll work for both surface area and volume.
If that were true, the volume of a pyramid would be:

(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! :mrgreen: -- Asuka
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

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:
Image
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 :)
Image
"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
User avatar
LadyTevar
White Mage
White Mage
Posts: 23351
Joined: 2003-02-12 10:59pm

Post by LadyTevar »

*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.
Image
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
User avatar
brianeyci
Emperor's Hand
Posts: 9815
Joined: 2004-09-26 05:36pm
Location: Toronto, Ontario

Post by brianeyci »

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.
User avatar
Beowulf
The Patrician
Posts: 10619
Joined: 2002-07-04 01:18am
Location: 32ULV

Post by Beowulf »

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
User avatar
Eris
Jedi Knight
Posts: 541
Joined: 2005-11-15 01:59am

Post by Eris »

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.
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.

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
User avatar
LadyTevar
White Mage
White Mage
Posts: 23351
Joined: 2003-02-12 10:59pm

Post by LadyTevar »

I was just kidding for the reason you mentioned... It's not a real-world object :)
Image
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
User avatar
Beowulf
The Patrician
Posts: 10619
Joined: 2002-07-04 01:18am
Location: 32ULV

Post by Beowulf »

Also, why are people using calculus? It's a mostly simple trig problem!
"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
Rekkon
Padawan Learner
Posts: 305
Joined: 2006-07-09 11:52pm

Post by Rekkon »

Calculus is not simple?
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Post by Kuroneko »

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.
Ack, I did. I certainly didn't intend to assume it; I wasn't thinking clearly.
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.
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.
User avatar
Surlethe
HATES GRADING
Posts: 12267
Joined: 2004-12-29 03:41pm

Post by Surlethe »

Beowulf wrote:Also, why are people using calculus? It's a mostly simple trig problem!
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.
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
User avatar
Fingolfin_Noldor
Emperor's Hand
Posts: 11834
Joined: 2006-05-15 10:36am
Location: At the Helm of the HAB Star Dreadnaught Star Fist

Post by Fingolfin_Noldor »

Surlethe wrote:
Beowulf wrote:Also, why are people using calculus? It's a mostly simple trig problem!
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.
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.
Image
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
User avatar
Fingolfin_Noldor
Emperor's Hand
Posts: 11834
Joined: 2006-05-15 10:36am
Location: At the Helm of the HAB Star Dreadnaught Star Fist

Post by Fingolfin_Noldor »

Addendum: I do agree that if it isn't then one has to use Integration however, especially if it isn't a symmetry shape.
Image
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
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

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.
Did you not bother reading the thread? That assumption is false.

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.
Image
"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
User avatar
Fingolfin_Noldor
Emperor's Hand
Posts: 11834
Joined: 2006-05-15 10:36am
Location: At the Helm of the HAB Star Dreadnaught Star Fist

Post by Fingolfin_Noldor »

Darth Wong wrote:
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.
Did you not bother reading the thread? That assumption is false.

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.
Yes. My bad. Apologies.
Image
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
User avatar
Surlethe
HATES GRADING
Posts: 12267
Joined: 2004-12-29 03:41pm

Post by Surlethe »

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.
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.
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
User avatar
MKSheppard
Ruthless Genocidal Warmonger
Ruthless Genocidal Warmonger
Posts: 29842
Joined: 2002-07-06 06:34pm

Post by MKSheppard »

So using this

Image

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
User avatar
Gil Hamilton
Tipsy Space Birdie
Posts: 12962
Joined: 2002-07-04 05:47pm
Contact:

Post by Gil Hamilton »

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
Post Reply