Given two lines the program computes their point of intersection, the angle of intersection and their distances from the origin.
g : x + y = 0 h : x - y = 5 Intersection point of g and h : S(2,5|-2,5) Intersection angle of g and h : 90° Distances from origin : d(g,O) = 0 d(h,O) = 3,5355339