# Line slope calculator x+y=5

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = t

y = -t+5 ; t ∈ R

**Slope:**m = -1

**Slope angle of line: φ =**-45° = -0.7854 rad

**X intercept:**x

_{0}= 5

**Y intercept:**y

_{0}= q = 5

**Distance line from the origin:**d

_{0}= 3.5355

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

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

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

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

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

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

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

**Scalar product OA .OB = 20**

**Angle ∠ AOB = 14°2'10″ = 0.245 rad**