# Line slope calculator x+3y=20

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = 3t+2

y = -t+6 ; t ∈ R

**Slope:**m = -0.3333

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

**X intercept:**x

_{0}= 20

**Y intercept:**y

_{0}= q = 6.6667

**Distance line from the origin:**d

_{0}= 6.3246

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

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

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

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

**Perpendicular Bisector equation:**3x-y-5 = 0

**Vector OA = (2; 6) ; |OA| = 6.3246**

**Vector OB = (5; 5) ; |OB| = 7.0711**

**Scalar product OA .OB = 40**

**Angle ∠ AOB = 26°33'54″ = 0.4636 rad**