# Line slope calculator 3x+y=7

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = t+1

y = -3t+4 ; t ∈ R

**Slope:**m = -3

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

**X intercept:**x

_{0}= 2.3333

**Y intercept:**y

_{0}= q = 7

**Distance line from the origin:**d

_{0}= 2.2136

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

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

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

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

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

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

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

**Scalar product OA .OB = 6**

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