mike0709lum
Mechanical
Hi,
Looking for some help on a maths problem, I'm a bit rusty and can't see what I'm doing wrong.
I'm trying to calculate the first moment of area of a portion of an ellipse which is not centered at 0,0.
The ellipse is described by:
(x-c)^2/a^2 + y^2/b^2 = 1 , this means the centre is at (c,0)
I know I need the integral of xdA with x between 0 and (a+c) but the answer I get is wrong (I know this from CAD comparison).
What I did was rejigged the ellipse equation to y=f(x) then used integral tables to evaluate the integral of x*f(x)dx:
I(x*sqrt(dx^2+ex+f))dx
where:
d=-b^2/a^2
e=2cb^2/a^2
f=b^2-b^2*c^2/a^2
The equation resulting from the solving of the integral is quite long so before I confuse everyone with that, have I got something fundamental wrong here?
Cheers,
Mike
Looking for some help on a maths problem, I'm a bit rusty and can't see what I'm doing wrong.
I'm trying to calculate the first moment of area of a portion of an ellipse which is not centered at 0,0.
The ellipse is described by:
(x-c)^2/a^2 + y^2/b^2 = 1 , this means the centre is at (c,0)
I know I need the integral of xdA with x between 0 and (a+c) but the answer I get is wrong (I know this from CAD comparison).
What I did was rejigged the ellipse equation to y=f(x) then used integral tables to evaluate the integral of x*f(x)dx:
I(x*sqrt(dx^2+ex+f))dx
where:
d=-b^2/a^2
e=2cb^2/a^2
f=b^2-b^2*c^2/a^2
The equation resulting from the solving of the integral is quite long so before I confuse everyone with that, have I got something fundamental wrong here?
Cheers,
Mike