Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


Subjectyou're lucky I'm so freaking bored Reply to this message
Posted bynewsdee
Posted on12/09/04 08:45 PM



Disclaimer: use at your own risk. Its probably wrong because I don't remember all the formulas (the ones below I've looked up, but I didn't find anything for "partial spheres").

First here's what the problem says:

0a) x^2 + y^2 >= 0
0b) x^2 + y^2 <= 4
0c) d(x,y,z) = SQRT ( 9 - x^2 - y ^2) = SQRT ( 9 - (x^2 + y^2) )
0d) z = d(x,y,z)

Then here's some formulas courtesy of wikipedia:

1. volume = mass / average density
2. volume(sphere) = 4/3*Pi*radius^3
3. radius^2 = x^2 + y^2 + z^2

Then 3)
radius^2 = x^2 + y^2 + 9 - (x^2 + y^2) (replace z, sqrt goes away)
radius^2 = 9
radius = 3

And 2)
volume = 4/3*Pi*3^3 = 4*Pi*3^2 = 36*Pi

Thus 1)
mass = volume * average density = 36*Pi * average density

And here's the genius part:
average density = (minimum density + max density)/2

Since d = f(-(x^2+y^2)) and (x^2 + y^2) always grows when x and y grows, min(d) is when x^2 + y^2 = 4 and max(d) when = 0.
So min(d) = SQRT(9 - 4) and max(d) = SQRT (9-0)
Or min(d) = 2.2361 and max(d) = 3

Therefore average density = (2.2361 + 3)/2 = 2.6181

So mass = 36*Pi * 2.6181 = 296.09

There's a catch: the volume formula is probably wrong because I've done it for a full sphere. How much of a "partial sphere" are we talking about? If it's half, divide the mass by 2.

Also, we're talking about a hollow sphere, so I don't know how that affects the formulas. Maybe it doesn't because the impact may be reflected in the density formula.







[download a life]

-
Entire Thread
Subject  Posted byPosted On
*Calculus question  itchyNADZ12/09/04 04:42 PM
.*XY/XX+XY/XX = Gay -nt- XY+XX = Straight  lux_9288612/09/04 10:40 PM
..*xx/xy = suck -nt- http://www.imdb.com/title/tt0245573/  ChachiSqrPants12/10/04 02:36 AM
.*x^3 = porn -nt-  lux_9288612/09/04 10:34 PM
..you're lucky I'm so freaking bored  newsdee12/09/04 08:45 PM
..*it's surface density, not volume  Terry Bogard12/09/04 09:10 PM
.*Define "thin" *nt*  wildcat12/09/04 05:50 PM
..*Kate Moss -nt-  lux_9288612/09/04 10:44 PM
...*Too thin *nt* m ≅ 0  wildcat12/09/04 11:22 PM
.*ill scan in the work later but heres the answer  SilentAce12/09/04 05:44 PM
..*X OVER Y!! X OVER Y!!!! nt  Eon_Blue12/09/04 07:30 PM
...*yes... hope it taste yummy -nt-  SilentAce12/09/04 08:34 PM
.*pi = 3.14159265 -nt-  lux_9288612/09/04 05:28 PM
.*tried Matlab ? -nt  Jonemaan12/09/04 05:20 PM