# Line slope calculator 4x+y=21

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

## Calculation:

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

**Canonical form of the line equation:**4x+y-21 = 0

**Parametric form of the line equation:**

x = t+4

y = -4t+5 ; t ∈ R

**Slope:**m = -4

**Slope angle of line: φ =**-75°57'50″ = -1.3258 rad

**X intercept:**x

_{0}= 5.25

**Y intercept:**y

_{0}= q = 21

**Distance line from the origin:**d

_{0}= 5.0932

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

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

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

**Midpoint of the segment AB: M =**[4.5; 3]

**Perpendicular Bisector equation:**x-4y+7.5 = 0

**Vector OA = (4; 5) ; |OA| = 6.4031**

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

**Scalar product OA .OB = 25**

**Angle ∠ AOB = 40°1'49″ = 0.6987 rad**