Results 1 to 2 of 2

Math Help - Distance along the surface of an oval between two points

  1. #1
    Newbie
    Joined
    Mar 2009
    Posts
    5

    Distance along the surface of an oval between two points

    Hi All...

    I am looking for a formula to calculate the distance between 2 points on the outside of an oval.



    I made a small example image.
    I have the X,Y value of both A and B.. so in this example they are:
    A.x = -1.9
    A.y = -2.8
    B.x = 2.0
    B.y = 2.5

    I also have the radius of the oval... we can call R and equals 9.42 (should note I made that up, but I know that the radius of a 6x6 circle)

    I am trying to find a way to calculate the distance from A to B clock wise along the surface of the oval, and not necessarily the shorted distance.

    I found a formula for calculating the distance for two lat and log and tried to adapt that, but it didn't work... here is what I had:

    acos(sin(A.x) * sin(B.x) + cos(A.x) * cos(B.x) * cos(B.y-A.y)) * R

    Honestly.. this type of math is above my head, but I really need the answer so I am giving it all I have... been reading up on cos and sin and know its like the x and y of my A and B... but everything I find talks about how to calculate out the angle from the center to get the x and y.. which I already have ....

    Hope someone can help.. Please
    Last edited by skidx; March 14th 2009 at 04:32 PM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member
    Joined
    Dec 2008
    From
    Auckland, New Zealand
    Posts
    189
    It's more complicated than you might think...

    The formula for the length of part (L) of a curve is L = \int_a^b \sqrt{1+\left(\frac{dy}{dx}\right)^2}\,dx

    The equation of an oval, more correctly called an ellipse, is \frac{x^2}{a^2} + \frac{y^2}{b^2} = 1

    Rearranging gives y = \pm \sqrt{b^2 - \frac{b^2x^2}{a^2}}

    This becomes difficult to work with as an ellipse is not the graph of a function. If one point is below the x-axis and the other above then you have to use both square roots separately, because an ellipse is the joint graph of those two square roots above...
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. [SOLVED] Shortest distance Point - surface
    Posted in the Calculus Forum
    Replies: 2
    Last Post: June 25th 2010, 05:12 AM
  2. Distance between dot and surface
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: April 28th 2010, 07:41 AM
  3. Distance between 2 point along an oval
    Posted in the Calculus Forum
    Replies: 7
    Last Post: March 16th 2009, 06:03 PM
  4. Replies: 2
    Last Post: February 16th 2009, 09:28 AM
  5. Replies: 3
    Last Post: May 5th 2006, 09:22 AM

Search Tags


/mathhelpforum @mathhelpforum