Line slope calculator x+3y=18


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[0; 6] and B[3; 5]

Calculation:

Slope: m = -0.3333

Slope-intercept form of line: y = -0.3333x+6

Canonical form of the line equation: x+3y-18 = 0

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

Slope angle of line: φ = -18°26'6″ = -0.3218 rad

X intercept: x0 = 18

Y intercept: y0 = q = 6

Distance line from the origin: d0 = 5.6921

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

Vector: AB = (3; -1)

Normal vector: n = (1; 3)

Midpoint of the segment AB: M = [1.5; 5.5]

Perpendicular Bisector equation: 3x-y+1 = 0


Vector OA = (0; 6) ;   |OA| = 6
Vector OB = (3; 5) ;   |OB| = 5.831
Scalar product OA .OB = 30
Angle ∠ AOB = 30°57'50″ = 0.5404 rad