Results 1 to 3 of 3

Math Help - [SOLVED] Trig Question

  1. #1
    tomgupper
    Guest

    [SOLVED] Trig Question

    I'm working on a programming assignment, and my Trig is not what it used to be...



    I know the following. Xpos,yPos,Xorigin,YOrigin, and the Radius of the Circle. However the Origin points are constantly moving. Wondering what the best way to find out x1,y1 and x2,y2 would be.

    Thankyou in advance.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    earboth's Avatar
    Joined
    Jan 2006
    From
    Germany
    Posts
    5,829
    Thanks
    123
    Quote Originally Posted by tomgupper View Post
    I'm working on a programming assignment, and my Trig is not what it used to be...



    I know the following. Xpos,yPos,Xorigin,YOrigin, and the Radius of the Circle. However the Origin points are constantly moving. Wondering what the best way to find out x1,y1 and x2,y2 would be.

    Thankyou in advance.
    Hello,

    I don't know if this is the best way but it will work: see attachment.

    The tangent points are placed on the original circle and on a circle with the centre at \left(\frac{x_P+x_O}{2}, \frac{y_P+y_O}{2} \right) and the radius r = |\overline{MO}|

    You'll get the coordinates of the points in question by calculating the intersection between these 2 circles.
    Attached Thumbnails Attached Thumbnails [SOLVED] Trig Question-krs_tang.gif  
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Joined
    Apr 2005
    Posts
    1,631
    Quote Originally Posted by tomgupper View Post
    I'm working on a programming assignment, and my Trig is not what it used to be...



    I know the following. Xpos,yPos,Xorigin,YOrigin, and the Radius of the Circle. However the Origin points are constantly moving. Wondering what the best way to find out x1,y1 and x2,y2 would be.

    Thankyou in advance.
    Here is one way. May not be the best way.
    (By the way, "the best way" solution may not be the best for everybody. My best way may be different from the "common" best way.)

    My understanding is that the position coordinates and the radius R remain are fixed, while the origin coordinates change or roam.

    Since you always know the coordinates of the immobile position and the mobile origin, and the R, then for any position of the origin
    tan(theta) = (Ypos -Yorig)/(Xpos -Xorig)
    theta = arctan[(Ypos -Yorig)/(Xpos -Xorig)] ---------(i)
    where
    theta is the angle of inclination from the horizontal of the line connecting the Position point and Origin point.

    In the posted figure, if you draw right triangles from the ends of the diameter 2R with the Position point, such that the legs are horizontal or vertical, then these two right triangles are equal or congruent.
    The hypotenuse of eact right triangle is R.

    Case (a)--- If the two right triangles are on the same side of the diameter 2R, and they are to the right of the diameter, then angle alpha is the angle opening downward for both triangle.

    Case (b)--- If the two triangles are on opposite sides of the diameter 2R, the angle alpha is the angle at the ends of the diameter.

    ange alpha = angle theta.

    The "diameter 2R" is the diameter defined by (x1,y1) and (x2,y2) in your posted drawing.

    ----------------------------------
    If you use the two right triangles as described in either of the Cases (a) or (b) above,

    In that posted drawing,
    x1 = Xpos -R*sin(theta)
    y1 = Ypos +R*cos(theta)

    x2 = Xpos +R*sin(theta)
    y2 = Ypos -R*cos(theta)

    That is it.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. [SOLVED] Need help with Trig Sum Formulas Question
    Posted in the Trigonometry Forum
    Replies: 6
    Last Post: March 27th 2010, 04:10 PM
  2. [SOLVED] another trig limit question
    Posted in the Differential Geometry Forum
    Replies: 1
    Last Post: October 19th 2009, 09:36 PM
  3. [SOLVED] trig question
    Posted in the Trigonometry Forum
    Replies: 5
    Last Post: June 5th 2009, 03:43 AM
  4. [SOLVED] trig question
    Posted in the Trigonometry Forum
    Replies: 3
    Last Post: January 10th 2009, 04:11 AM
  5. [SOLVED] Trig. and Sin Wave Question
    Posted in the Math Topics Forum
    Replies: 5
    Last Post: May 18th 2008, 10:20 AM

Search Tags


/mathhelpforum @mathhelpforum