- #1
redeemer90
- 4
- 0
Homework Statement
The task is to solve for the arc length of an ellipse numerically. a & b are given for an ellipse centered at the origin and a value for x is given.
Homework Equations
Equation of ellipse is given to be
[tex]x^{2}/a^{2} + y^{2}/b^{2} = 1[/tex]
and the equation to solve for the arc length is given as
[tex]a \int^{\theta}_{0}\sqrt{1-k^{2} sin^{2}t} dt[/tex]
Assuming a is the major axis
The Attempt at a Solution
The additional condition is that
[tex]-a \leq x\leq a[/tex], so [tex]\theta[/tex] can be [tex]\ge 0.5 \pi[/tex]
Since [tex]\int^{\theta}_{0}\sqrt{1-k^{2} sin^{2}t} dt[/tex] does not seem to work when [tex]{\theta} \ge 0.5 \pi[/tex]
The only solution I can think of is as follows
- If x < 0
- pb4 = quarter the perimeter of the ellipse
- Set x= -x (reflect about the x axis)
- ptemp = arc length for the positive x
- The final answer would be p=pb4+(pb4-ptemp)
This would mean evaluating equation [tex]\int^{\theta}_{0}\sqrt{1-k^{2} sin^{2}t} dt[/tex] twice.
Is there a better solution to this problem?
Thanks,
- Sid