March 29, 2024, 08:52:10 AM
Forum Rules: Read This Before Posting


Topic: Volume of a sphere as a function of its depth  (Read 41016 times)

0 Members and 2 Guests are viewing this topic.

Offline lemonoman

  • Atmospheric
  • Chemist
  • Full Member
  • *
  • Posts: 607
  • Mole Snacks: +71/-8
  • Gender: Male
Re: Volume of a sphere as a function of its depth
« Reply #15 on: May 08, 2006, 10:48:48 PM »
I did it 'lemonoman's way' (or the 'right' way!).

Hahahaha...way to make friends...and enemies...all at the same time  ;D lol

Offline Will

  • Organic Dude
  • Chemist
  • Full Member
  • *
  • Posts: 400
  • Mole Snacks: +58/-2
  • Gender: Male
Re: Volume of a sphere as a function of its depth
« Reply #16 on: May 08, 2006, 11:11:35 PM »
lol ;D, I hope I didn't offend Vant_Hoff- I think he has got the right idea of finding the volume of a sphere- but when you want to find the volume of part of a sphere, the best way to do it is by integrating, rather than trying to work out a fraction of the sphere. (Also, being Canadian, I am more likely to favour lemonoman over Vant_Hoff ;))

Online Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Posts: 27635
  • Mole Snacks: +1799/-410
  • Gender: Male
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Volume of a sphere as a function of its depth
« Reply #17 on: May 09, 2006, 02:54:39 AM »
when you want to find the volume of part of a sphere, the best way to do it is by integrating, rather than trying to work out a fraction of the sphere.

The thing is - he integrated, just using different approach. However, looks like there is some error in his calculations and I couldn't find it.
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info

Online Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Posts: 27635
  • Mole Snacks: +1799/-410
  • Gender: Male
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Volume of a sphere as a function of its depth
« Reply #18 on: May 09, 2006, 05:16:49 AM »
For a portion of a sphere, however, Phi alone changes. You can graph the sphere and see this yourself. Notice : Phi changes from 0 to an angle, call it 'a'.

That's were you have gone astray :) You are calculating not only volume of the portion of the sphere, but also volume of the cone attached to it and going down to the sphere centre.

You owe me ?2 snacks ;)
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info

Offline Hunt

  • Chemist
  • Full Member
  • *
  • Posts: 240
  • Mole Snacks: +25/-7
  • Gender: Male
Re: Volume of a sphere as a function of its depth
« Reply #19 on: May 09, 2006, 01:21:49 PM »
I rechecked my work ... oversimplification only works for symmetrical portions , so I have to change the variables again. Thx To borek for the correction. I'll correct my mistake when I have time.

Online Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Posts: 27635
  • Mole Snacks: +1799/-410
  • Gender: Male
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Volume of a sphere as a function of its depth
« Reply #20 on: May 09, 2006, 01:27:58 PM »
Go for cylindrical as I told you, you will kill yourself with your own fist in spherical ;)
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info

Offline Will

  • Organic Dude
  • Chemist
  • Full Member
  • *
  • Posts: 400
  • Mole Snacks: +58/-2
  • Gender: Male
Re: Volume of a sphere as a function of its depth
« Reply #21 on: May 09, 2006, 01:31:50 PM »
Go for cylindrical as I told you, you will kill yourself with your own fist in spherical ;)

 :D. If his mistake was that he also had the volume of the cone in there- couldn't he just minus that volume off the calculated one?

Offline Hunt

  • Chemist
  • Full Member
  • *
  • Posts: 240
  • Mole Snacks: +25/-7
  • Gender: Male
Re: Volume of a sphere as a function of its depth
« Reply #22 on: May 09, 2006, 02:10:19 PM »
Quote
If his mistake was that he also had the volume of the cone in there- couldn't he just minus that volume off the calculated one?

I simplified p rom 0 to R, while the real value ( h/cos(Phi) should be taken into account. My simplification works for specific cases, I shall correct my mistake in a while. Hold on a bit plz ...

Quote
Go for cylindrical as I told you, you will kill yourself with your own fist in spherical

I reached the same exp in spherical, cylindircal , and rectangular coordinates. there r also lots of others ways, but working with cylindrical when handling a sphere is not practical, and in rect coord, the integral would involve lots of squared roots.

Offline Hunt

  • Chemist
  • Full Member
  • *
  • Posts: 240
  • Mole Snacks: +25/-7
  • Gender: Male
Re: Volume of a sphere as a function of its depth
« Reply #23 on: May 09, 2006, 05:28:03 PM »
Quote
I did it 'lemonoman's way' (or the 'right' way!). I am not entirely sure what Vant_Hoff did, for some reason I got a different answer to him- probably me making some mistake somewhere in the calculation.

I used spherical coordinates instead of rectangular. Now sure you you went straight into numerical app and solved it . Try finding a general expression using rect coord, u'll see how much easier it is to apply spherical coordinates in this case. This is something known just as when you work with a cylinder , u use cylindrical coord.

Quote
lol , I hope I didn't offend Vant_Hoff- I think he has got the right idea of finding the volume of a sphere- but when you want to find the volume of part of a sphere, the best way to do it is by integrating, rather than trying to work out a fraction of the sphere. (Also, being Canadian, I am more likely to favour lemonoman over Vant_Hoff

No problem mate, I'm not offended at all :)

I use a proportional const only if I must and only when I'm sure of it. Ofcourse, in a general sense, it does not work.

Quote
That's were you have gone astray  You are calculating not only volume of the portion of the sphere, but also volume of the cone attached to it and going down to the sphere centre.

I've edited my reply and corrected the variable p. When I thought about this problem, I assumed that the distance between the plane that cuts the sphere, say at z=h, and the center can be neglected, but since you've pointed out yesterday that your ans is different, I recheked it today with some app in the book. It turned out the difference can sometimes be large ( my ans was about 296 instead 309 ) , and so I plugged in the correct variable h/Cos(Phi).

Quote
You owe me ?2 snacks

If you say so , but still u didn't come up with any correction man!

Online Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Posts: 27635
  • Mole Snacks: +1799/-410
  • Gender: Male
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Volume of a sphere as a function of its depth
« Reply #24 on: May 09, 2006, 05:53:19 PM »
Quote
You owe me ?2 snacks

If you say so , but still u didn't come up with any correction man!

I have posted correct answer and I have found your error. What other kind of correction do you expect?
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info

Offline Donaldson Tan

  • Editor, New Asia Republic
  • Retired Staff
  • Sr. Member
  • *
  • Posts: 3177
  • Mole Snacks: +261/-13
  • Gender: Male
    • New Asia Republic
Re: Volume of a sphere as a function of its depth
« Reply #25 on: May 09, 2006, 06:44:15 PM »
Imagine the spherical container filled with water up to depth h

The volume of water will be ?pi.r2dh where r is the radius of each cross section of the water body

let ro = 4.5m

If you cut the sphere into half, you can see the height of the water follows the function (h,r) of a circle of centre (ro,0), ie.

(h - ro)2 + r2 = ro2
r2 = 2roh - h2
note: r is the radius of the cross section, h is depth.

volume of water = ?pi.r2dh from 0 to 6.5 = pi ? 2roh - h2 dh from 0 to 6.5 = pi.( f(6.5)-f(0) ) where f(h) = roh2 -  h3/3
« Last Edit: May 10, 2006, 10:30:05 AM by geodome »
"Say you're in a [chemical] plant and there's a snake on the floor. What are you going to do? Call a consultant? Get a meeting together to talk about which color is the snake? Employees should do one thing: walk over there and you step on the friggin� snake." - Jean-Pierre Garnier, CEO of Glaxosmithkline, June 2006

Offline Yggdrasil

  • Retired Staff
  • Sr. Member
  • *
  • Posts: 3215
  • Mole Snacks: +485/-21
  • Gender: Male
  • Physical Biochemist
Re: Volume of a sphere as a function of its depth
« Reply #26 on: May 09, 2006, 08:06:02 PM »
I reached the same exp in spherical, cylindircal , and rectangular coordinates. there r also lots of others ways, but working with cylindrical when handling a sphere is not practical, and in rect coord, the integral would involve lots of squared roots.

The integral is not difficult to evaluate in rectangular coordiates.  To integrate sqrt(r2-x2)dx just use trig substitution.  Let x = rsin u.  Then dx = rcos u du, and sqrt(r2-x2) becomes rcos u.  cos2 u is easy enough to integrate.

Offline xiankai

  • Chemist
  • Full Member
  • *
  • Posts: 785
  • Mole Snacks: +77/-37
  • Gender: Male
Re: Volume of a sphere as a function of its depth
« Reply #27 on: May 10, 2006, 08:23:59 AM »
wow this thread has attracted alot of replies, yet im still stuck in my working  :'(

f (x) = (r2 – x2)1/2

     y = (r2 – x2)1/2

    y2 = r2 – x2

       x = (r2 – y2)1/2

f (y) = (r2 – y2)1/2

     2                                                                 2
    ?    f(y) dx =  [  (r2 – y2)3/2 / (-2y) (3/2)  ]
-4.5                                                                  -4.5

                     =  [  (4.52 – 22)3/2 / (-4)2 (3/2) ] – [  (4.52 – (-4.5) 2)3/2 / (4.5)2 (3/2) ]

well like lemonoman said, i ran into difficulties integrating from -4.5 to 2, so i tried will17's "y as the subject" method, without results. the second term [  (4.52 – (-4.5) 2)3/2 / (4.5)2 (3/2) ] = 0

will17, why did u square the function? i dont know any integration method that involves this... can u tell me?

and once im done with the basics i can look at other methods of integration like cylindrical, rectangular, spherical, ... (voice drones off) ;D
« Last Edit: May 10, 2006, 08:25:46 AM by xiankai »
one learns best by teaching

Offline Will

  • Organic Dude
  • Chemist
  • Full Member
  • *
  • Posts: 400
  • Mole Snacks: +58/-2
  • Gender: Male
Re: Volume of a sphere as a function of its depth
« Reply #28 on: May 10, 2006, 09:21:37 AM »
The method I used involved integrating the circle which has been rotated by 2(pi) (360o) about the x (or y in this case) axis. When you do this you multiply the function by pi and square it. This is the reason:
You split the rotated function (which you want to find the volume of between x=a and x=b) into tiny little pieces of width dx (which will be the 'height' of the cylinder) and radius y so the volume of this pancake-like slice is apprx.: dV = (pi)y2 dx (volume of a cylinder).
Hence the apprx. total volume is the sum of all the slices:
          x=b
V= [sum sign] (pi)y2 dx
          x=a

The more you slice up the 3D shape the more accurate the value of V becomes. The exact value of V is given by the limit as dx ---> 0:
                     x=b
V=    lim    [sum sign] (pi)y2 dx
      dx->0     x=a

Hence:
       b
V= ? (pi)y2 dx
      a

and you can take the constant, pi, out of the integral sign.
Whether you integrate it with respect to y or x shouldn't make any difference (because its a circle).
Hope this helps. ;)

Offline Donaldson Tan

  • Editor, New Asia Republic
  • Retired Staff
  • Sr. Member
  • *
  • Posts: 3177
  • Mole Snacks: +261/-13
  • Gender: Male
    • New Asia Republic
Re: Volume of a sphere as a function of its depth
« Reply #29 on: May 10, 2006, 03:30:10 PM »
volume of water = ?pi.r2dh from 0 to 6.5 = pi ? 2roh - h2 dh from 0 to 6.5 = pi.( f(6.5)-f(0) ) where f(h) = roh2 -  h3/3

Isn't this simplest to integrate?
"Say you're in a [chemical] plant and there's a snake on the floor. What are you going to do? Call a consultant? Get a meeting together to talk about which color is the snake? Employees should do one thing: walk over there and you step on the friggin� snake." - Jean-Pierre Garnier, CEO of Glaxosmithkline, June 2006

Sponsored Links