# Line slope calculator 3x-y=-2

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = t

y = 3t+2 ; t ∈ R

**Slope:**m = 3

**Slope angle of line: φ =**71°33'54″ = 1.249 rad

**X intercept:**x

_{0}= -0.6667

**Y intercept:**y

_{0}= q = 2

**Distance line from the origin:**d

_{0}= 0.6325

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

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

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

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

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

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

**Vector OB = (1; 5) ; |OB| = 5.099**

**Scalar product OA .OB = 10**

**Angle ∠ AOB = 11°18'36″ = 0.1974 rad**