# Line slope calculator -y=-2

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

## Calculation:

**Slope-intercept form of line:**y = 2

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

**Parametric form of the line equation:**

x = t

y = 2 ; t ∈ R

**Slope:**m = 0

**Slope angle of line: φ =**0° = 0 rad

**X intercept:**x

_{0}= N/A

**Y intercept:**y

_{0}= q = 2

**Distance line from the origin:**d

_{0}= 2

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

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

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

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

**Perpendicular Bisector equation:**x-0.5 = 0

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

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

**Scalar product OA .OB = 4**

**Angle ∠ AOB = 26°33'54″ = 0.4636 rad**