Line slope calculator 2x+5y=20


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.4

Slope-intercept form of line: y = -0.4x+4

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

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

Slope angle of line: φ = -21°48'5″ = -0.3805 rad

X intercept: x0 = 10

Y intercept: y0 = q = 4

Distance line from the origin: d0 = 3.7139

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

Vector: AB = (5; -2)

Normal vector: n = (2; 5)

Midpoint of the segment AB: M = [2.5; 3]

Perpendicular Bisector equation: 5x-2y-6.5 = 0


Vector OA = (0; 4) ;   |OA| = 4
Vector OB = (5; 2) ;   |OB| = 5.3852
Scalar product OA .OB = 8
Angle ∠ AOB = 68°11'55″ = 1.1903 rad