# Line slope calculator 2x-y=4

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = t+2

y = 2t ; t ∈ R

**Slope:**m = 2

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

**X intercept:**x

_{0}= 2

**Y intercept:**y

_{0}= q = -4

**Distance line from the origin:**d

_{0}= 1.7889

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

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

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

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

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

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

**Vector OB = (3; 2) ; |OB| = 3.6056**

**Scalar product OA .OB = 6**

**Angle ∠ AOB = 33°41'24″ = 0.588 rad**