# Line slope calculator x+8y=42

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = 8t+2

y = -t+5 ; t ∈ R

**Slope:**m = -0.125

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

**X intercept:**x

_{0}= 42

**Y intercept:**y

_{0}= q = 5.25

**Distance line from the origin:**d

_{0}= 5.2095

**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; 4.5]

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

**Vector OA = (2; 5) ; |OA| = 5.3852**

**Vector OB = (10; 4) ; |OB| = 10.7703**

**Scalar product OA .OB = 40**

**Angle ∠ AOB = 46°23'50″ = 0.8098 rad**