Simon Bridge said:
Aside:
Lets see if I can get that relation to render...
... I see what happened: sin^{2}(phi} won't render because you have closed a ( with a }. It will also render better with extra backslashes: \sin^2(\phi)
a^{3} bc \int \int \int r^{4} \sin^{2}(\phi) \cos(\theta) d\phi d\theta dr... I'm guessing you used the built-in equation editor for part and hand edited a part.
Yep, that's exactly what happened thanks simon.
Simon Bridge said:
First you need a way to check your answer ... consider: what is a volume?
If a, b, and c were in meters - the volume should be in m3 ... is that what you got?
note: what you have for the equation of the ellipse will give a sphere if a=b=c=1 - so maybe you need a term in R there?
Its not actually a volume though, its the integral of a function inside of the volume. I started again anyway because the answer I posted above was way off --> I didnt multiply by the jacobian from cartesian u-v-w to spherical u-v-w properly. So I am just going to write the whole lot out again.
So this was the equation for the boundary volume:
\frac{x^{2}}{b^{2}} + \frac{y^{2}}{b^{2}} + \frac{z^{2}}{c^{2}} = R^{2}
Next I substitute to make this all a lot easier:
let: x=au
y=bv
z=cw
where u,v,w are variables.
Hence: u^{2} + v^{2} + w^{2} = R^{2}
Now, the Jacobian from x-y-z space to u-v-w space is abc
AND x^{2} = a^{2} u^{2}
AND u^{2} = r^{2} \sin^{2}(\phi) \cos^{2}(\theta)
Therefore, the original integral becomes:
\int\int\int a b c a^{2} r^{2} \sin^{2}(\phi) \cos^{2}(\theta) r^{2} \sin(\phi) d\theta d\phi dr
with the following limits(these will be the same throughout): (0≤r≤R),(0≤\phi\leq \Pi) and (0≤θ≤2 Pi)
I get the following integrals for between stages:
\int cos^{2}(\theta) d\theta = \frac{1}{2}(\theta + Sin(\theta)Cos(\theta))
\int Sin^{3}(\phi) d\phi = \frac{1}{12}(Cos(3 \Phi) - 9Cos(\Phi))
\int r^4 dr = r^5/5
Then yada yada yada, we solve the integral for said limits and get:
I = \frac{4 \Pi a^{3} b c R^{5}}{15}
Does this seem right to anyone?
Once again, thanks in advance, and sorry for the mess around.-Epiclier