# Line slope calculator 2x-y=0

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = t

y = 2t ; t ∈ R

**Slope:**m = 2

**Slope angle of line: φ =**63°26'6″ = 1.1071 rad

**X intercept:**x

_{0}= 0

**Y intercept:**y

_{0}= q = 0

**Distance line from the origin:**d

_{0}= 0

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

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

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

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

**Perpendicular Bisector equation:**x+2y-2.5 = 0

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

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

**Scalar product OA .OB = 0**

**Angle ∠ AOB = N/A = N/A rad**