Line slope calculator 5x+2y=20


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[0; 10] and B[2; 5]

Calculation:

Slope: m = -2.5

Slope-intercept form of line: y = -2.5x+10

Canonical form of the line equation: 5x+2y-20 = 0

Parametric form of the line equation:
x = 2t
y = -5t+10      ; t ∈ R

Slope angle of line: φ = -68°11'55″ = -1.1903 rad

X intercept: x0 = 4

Y intercept: y0 = q = 10

Distance line from the origin: d0 = 3.7139

The length of the segment AB: |AB| = 5.3852

Vector: AB = (2; -5)

Normal vector: n = (5; 2)

Midpoint of the segment AB: M = [1; 7.5]

Perpendicular Bisector equation: 2x-5y+35.5 = 0


Vector OA = (0; 10) ;   |OA| = 10
Vector OB = (2; 5) ;   |OB| = 5.3852
Scalar product OA .OB = 50
Angle ∠ AOB = 21°48'5″ = 0.3805 rad