Finding the intersection of two linear equations?
Setting a basic slope test to determine No Solutions (parallel) / One Solution (intersection) / Inifinite (same line) Solutions is easy enough, but I've been fumbling around for a clean way to calculate x and y for cases of One Solution.
Essentially, I'm looking for something less explicit than having a separate function for each step of solving by hand, but more explicit than Excel's equation solver. This would allow me to study and explain the basic patterns involved, and generate graphing problems automatically (with a built-in self-check).
MacPro 8 Core/8GB, Mac OS X (10.6.6), shiny