# Line slope calculator x+3y=7

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = 3t+1

y = -t+2 ; t ∈ R

**Slope:**m = -0.3333

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

**X intercept:**x

_{0}= 7

**Y intercept:**y

_{0}= q = 2.3333

**Distance line from the origin:**d

_{0}= 2.2136

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

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

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

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

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

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

**Vector OB = (4; 1) ; |OB| = 4.1231**

**Scalar product OA .OB = 6**

**Angle ∠ AOB = 49°23'55″ = 0.8622 rad**