[futurebasic] Re: Coordinate geometry.

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1997 : Group Archive : Group : All Groups

From: the world has turned and left me here <shepardb@...>
Date: Sun, 14 Dec 1997 15:24:43 -0500 (EST)
While lying awake last night, I decided that I remember enough of Cramer's
rule to give you the formula needed to find the intersection point of two
lines...

The two lines are:
ax + by = c
dx + ey = f

    | c b |
    | f e |
x = -------
    | a b |
    | d e |

    ce - bf
x = -------
    ae - bd

    | a c |
    | d f |
y = -------
    | a b |
    | d e |

    af - cd
y = -------
    ae - bd

I'm doing all of this off the top of my head, so if the math doesn't work,
tell me and I'll check it again. I'll leave converting all of this into FB
code to someone else (tho it shouldn't be hard). HTH,

Bryan Shepardson
shepardb@...

Mrs. Foster: Just remember, Father Mike, I own you.
Father Mike: I work for God.
Mrs. Foster: He works for me too.

On Thu, 11 Dec 1997, Lazlo Toth wrote:

> Does anyone know the answer to these two geometry questions?
> 
> 
> 1. The formula for finding the intersection point of two lines.
>