# Line slope calculator x+y=18

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

## Calculation:

**Slope-intercept form of line:**y = -x+18

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

**Parametric form of the line equation:**

x = t+8

y = -t+10 ; t ∈ R

**Slope:**m = -1

**Slope angle of line: φ =**-45° = -0.7854 rad

**X intercept:**x

_{0}= 18

**Y intercept:**y

_{0}= q = 18

**Distance line from the origin:**d

_{0}= 12.7279

**The length of the segment AB: |AB| =**2.8284

**Vector: AB =**(2; -2)

**Normal vector: n =**(1; 1)

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

**Perpendicular Bisector equation:**2x-2y = 0

**Vector OA = (8; 10) ; |OA| = 12.8062**

**Vector OB = (10; 8) ; |OB| = 12.8062**

**Scalar product OA .OB = 160**

**Angle ∠ AOB = 12°40'49″ = 0.2213 rad**