Results 1 to 3 of 3

Math Help - Find the Length Between 2 Points With X, Y of Both Points and Angle of Line?

  1. #1
    Newbie
    Joined
    Aug 2009
    Posts
    1

    Find the Length Between 2 Points With X, Y of Both Points and Angle of Line?

    need to have a math equation that finds the length of the segment of line that is located between 2 points on that line.
    The variables I know are:

    1. x, y of one point
    2. x, y of other point
    3. angle of the line (it can rotate anywhere in 360 degrees, its rotation point is the second point)

    I'm just a programmer who isn't that good at math

    Thanks in advance! Ask if you have any questions!

    And here's the pic of the math problem for some visual:
    EDIT: Oops, never mind about the Radius of the circle, that wont help.
    Attached Thumbnails Attached Thumbnails Find the Length Between 2 Points With X, Y of Both Points and Angle of Line?-math-problem.jpg  
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    earboth's Avatar
    Joined
    Jan 2006
    From
    Germany
    Posts
    5,803
    Thanks
    115
    Quote Originally Posted by jebego View Post
    need to have a math equation that finds the length of the segment of line that is located between 2 points on that line.
    The variables I know are:

    1. x, y of one point
    2. x, y of other point
    3. angle of the line (it can rotate anywhere in 360 degrees, its rotation point is the second point)

    I'm just a programmer who isn't that good at math

    Thanks in advance! Ask if you have any questions!

    And here's the pic of the math problem for some visual:
    EDIT: Oops, never mind about the Radius of the circle, that wont help.
    I'm not sure that I understand your question correctly ...

    In general: If you have 2 points P_1(x_1, y_1) and P_2(x_2, y_2) then the distance between these 2 points is calculated by:

    d = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2}

    In 3-D-space you have:

    If you have 2 points P_1(x_1, y_1, z_1) and P_2(x_2, y_2, z_2) then the distance between these 2 points is calculated by:

    d = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2 + (z_1 - z_2)^2}
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Aug 2009
    Posts
    19
    In your case jepego x1 and y1 would = 0

    x2 and y2 are the points of the other x and y. The equation above will give you the distance.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. [SOLVED] Stationary points - find horizontal line
    Posted in the Calculus Forum
    Replies: 2
    Last Post: January 8th 2012, 05:29 AM
  2. Replies: 0
    Last Post: August 19th 2011, 06:59 AM
  3. Replies: 3
    Last Post: March 28th 2009, 08:18 PM
  4. Replies: 5
    Last Post: March 11th 2009, 01:14 PM
  5. Replies: 4
    Last Post: April 9th 2008, 04:04 AM

Search Tags


/mathhelpforum @mathhelpforum