Find the intersection of two lines: Difference between revisions

m
Line 1,276:
<pre>[5, 5]</pre>
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
<lang Mathematica>RegionIntersection[
RegionIntersection[
InfiniteLine[{{4, 0}, {6, 10}}],
InfiniteLine[{{0, 3}, {10, 7}}]
]</lang>
{{out}}
<pre>Point[{5, 5}]</pre>
</pre>
 
=={{header|MATLAB}}==
1,111

edits