A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: Tricky trigonometry question

Threaded View

  1. #1
    Member
    Join Date
    Mar 2008
    Posts
    82

    Tricky trigonometry question

    OK, This one really needs a diagram to explain so check the attached image I created.
    (I need to find the lengths of the blue triangle).



    A car is sitting at a known point within the perimeter of a circle of a known radius.
    It travels in a straight line in a known direction for a known distance which happens to take it outside the circle.

    How do I calculate the coordinate for the point at which the car intersects the circle?

    Two more minor details...
    1) The car does not necessarily begin at the center of the circle.
    2) The direction the car takes does not necessarily radiate from the center either.
    Last edited by Trugas; 09-08-2009 at 09:24 PM. Reason: Better diagram

    ----------------------------------------------------------------------1
    5-------------3-------------2-------------1-------------0-------------0
    -------0-------------0-------------0-------------0-------------0------0
    ----------------------------------------------------------------------0
    3-------------2-------------0-------------0---------------------------2
    --------------------------------------------------------3-------------3

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center