Line slope calculator 2x+4y=40


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.5

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

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

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

Slope angle of line: φ = -26°33'54″ = -0.4636 rad

X intercept: x0 = 20

Y intercept: y0 = q = 10

Distance line from the origin: d0 = 8.9443

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

Vector: AB = (4; -2)

Normal vector: n = (2; 4)

Midpoint of the segment AB: M = [2; 9]

Perpendicular Bisector equation: 4x-2y+10 = 0


Vector OA = (0; 10) ;   |OA| = 10
Vector OB = (4; 8) ;   |OB| = 8.9443
Scalar product OA .OB = 80
Angle ∠ AOB = 26°33'54″ = 0.4636 rad