# Line slope calculator x+8y=18

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = 8t+2

y = -t+2 ; t ∈ R

**Slope:**m = -0.125

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

**X intercept:**x

_{0}= 18

**Y intercept:**y

_{0}= q = 2.25

**Distance line from the origin:**d

_{0}= 2.2326

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

**Vector: AB =**(8; -1)

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

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

**Perpendicular Bisector equation:**8x-y-46.5 = 0

**Vector OA = (2; 2) ; |OA| = 2.8284**

**Vector OB = (10; 1) ; |OB| = 10.0499**

**Scalar product OA .OB = 22**

**Angle ∠ AOB = 39°17'22″ = 0.6857 rad**