Coordinates
------------------------------------------------------------
Version: 2.0, 980322
Creator: Daniel Bergman.
Description: The program calculates the distance between two points
in a coordinate system, where the midpoint between the
points are, and the K and M-value for the line that runs
through the points.
Comments: "R>Pr(" is on the ANGLE-menu.
Known bugs: None.
Size: 105 bytes.
For more games and programs, please visit http://ti80.burtrask.net.
PROGRAM:COORD
INPUT "X?",X
INPUT "Y?",Y
INPUT "X?",S
INPUT "Y?",T
CLRHOME
DISP "L,MX,MY,K,M",R>Pr(S-X,T-Y
DISP .5(X+S
DISP .5(Y+T
(T-Y)/(S-X->S
DISP S
Y-XS
--------------------------------------------------------------------
Copyright (C) 1998 by Daniel Bergman & Mattias Morén
http://ti80.burtrask.net