Obliczanie prostej

 avatar
unknown
python
4 years ago
124 B
12
Indexable
def calculateEq(x1,x2):
    m = (x2[1] - x1[1]) / (x2[0] - x1[0])
    c = round((x2[1] - ( m * x2[0])),1)
    return m, c
Editor is loading...