Obliczanie prostej

Anonymous
python
07/01/2021 12:08 PM
168 B
28
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...