Ask Your Question

Revision history [back]

How can I solve line equation in SageMath?

So we know we got standard 2D line equation that looks like y=a*x+b. And now I want to solve the a,b by given a few points. How can I achieve it?

I remember I've seen the solution somewhere, but I just can't find it out now.