Results 1 to 5 of 5

Thread: TI83 - Two lines intersecting

  1. #1

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090

    TI83 - Two lines intersecting

    Does anyone have a TI83 and know how to write a program for it where it tells you if and where two (2-D) lines intersect (actually 3-D would be nice too). I probably could do this myself given time but I'm sure someone out there can do it better.

    I figured this would be the most appropriate forum for this.
    Have I helped you? Please Rate my posts.

  2. #2
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431
    You could go the very complicated way and subtract the equations programatically, or you could go the simple route and subtract the two equations after being evaluated for many values of x (only in one direction, ie. when the absolute value of their difference gets smaller) and wait until the difference becomes an arbitrary epsilon (it would probably not actually reach zero unless your x step was infinitely small) which is very close to zero. I could probably write a progam for it later if needed.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  3. #3

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    not needed, I only thought it might be fun to have. For the moment I can always write the two eqns into the graph thingy and use the inbuilt function to find their intersection.
    Have I helped you? Please Rate my posts.

  4. #4
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking hmmm....

    so you just want the intersection of two line....no problems.
    How do you have the lines...y=mx + c???

    you see, if you have them of the form "Ax + By = C" then it is really easy, using the Ti83 matrix stuff:
    Ax + By = C
    Dx + Ey = F
    Let matrix J = [[A,B][D,E]]-1
    => [[x, y]] = J [[C, F]]

    All you would have to do is check that
    A/D != B/E
    cos that means that the lines are parallel. In that case:
    A/B=B/E=C/F means they are the same line
    A/B=B/E <> C/F means they never intersect
    sql_lall

  5. #5

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090

    k thx

    'nuff said
    Have I helped you? Please Rate my posts.

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