Find the intersection of two lines: Difference between revisions

Content added Content deleted
No edit summary
Line 1,158: Line 1,158:
=(,)
=(,)
else
else
x1=(b.slop*b.xz+b.yz+.slop*.xz-.yz)/(.slop-b.slop)
x1=(-b.xz*b.slop+b.yz+.xz*.slop-.yz)/(.slop-b.slop)
=(x1, .f(x1))
=(x1, .f(x1))
end if
end if