# Line slope calculator x-3y=-1

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = 3t+2

y = t+1 ; t ∈ R

**Slope:**m = 0.3333

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

**X intercept:**x

_{0}= -1

**Y intercept:**y

_{0}= q = 0.3333

**Distance line from the origin:**d

_{0}= 0.3162

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

**Perpendicular Bisector equation:**3x+y-12 = 0

**Vector OA = (2; 1) ; |OA| = 2.2361**

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

**Scalar product OA .OB = 12**

**Angle ∠ AOB = 4°45'49″ = 0.0831 rad**