HELP Mathamatical Problem


[Prev][Next][Index][Thread]

HELP Mathamatical Problem



I am stuck on a mathamatical problem which I hope someone out there
can help me.

I need to write a program on my TI86 which will calculate if a given
point is
within the bounds of a group of other points. Sounds confusing I know
so I will draw
some ASCII art to hopefully clarify the problem.


        (x,y)*--------------(x,y)*
            /                     \
           /                  (x,y)*
          /                       /
         /       (x,y)@      /
        /                       /
       /                       /
 (x,y)*------------------(x,y)*


 * denotes the "boundary points"
 @ denotes the point in which the program will check if it is within
the "boundary"
   in this example it is.

Now my question is what basic (code) or math (formula) should be used
in order to
solve this problem?

If anyone can help solve this problem I can stop pulling my hair out.

jts@netbistro.com


Follow-Ups: