Line slope calculator x+2y=10


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.5

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

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

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

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

X intercept: x0 = 10

Y intercept: y0 = q = 5

Distance line from the origin: d0 = 4.4721

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

Vector: AB = (2; -1)

Normal vector: n = (1; 2)

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

Perpendicular Bisector equation: 2x-y+2.5 = 0


Vector OA = (0; 5) ;   |OA| = 5
Vector OB = (2; 4) ;   |OB| = 4.4721
Scalar product OA .OB = 20
Angle ∠ AOB = 26°33'54″ = 0.4636 rad