Line slope calculator x+8y=40


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.125

Slope-intercept form of line: y = -0.125x+5

Canonical form of the line equation: x+8y-40 = 0

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

Slope angle of line: φ = -7°7'30″ = -0.1244 rad

X intercept: x0 = 40

Y intercept: y0 = q = 5

Distance line from the origin: d0 = 4.9614

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

Vector: AB = (8; -1)

Normal vector: n = (1; 8)

Midpoint of the segment AB: M = [4; 4.5]

Perpendicular Bisector equation: 8x-y-27.5 = 0


Vector OA = (0; 5) ;   |OA| = 5
Vector OB = (8; 4) ;   |OB| = 8.9443
Scalar product OA .OB = 20
Angle ∠ AOB = 63°26'6″ = 1.1071 rad