求两直线的交点

第一种解法

直线方程是:

$ y = kx + b $

直线方程

根据此方程,算出 2 条直线的 k、b,就能求出交点了。

第二种解法:向量

第三种解法:线性代码

Author: 曾小乱

喜欢写点有意思的东西

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.