# Line slope calculator 2x+y=12

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = t+1

y = -2t+10 ; t ∈ R

**Slope:**m = -2

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

**X intercept:**x

_{0}= 6

**Y intercept:**y

_{0}= q = 12

**Distance line from the origin:**d

_{0}= 5.3666

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

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

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

**Midpoint of the segment AB: M =**[1.5; 9]

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

**Vector OA = (1; 10) ; |OA| = 10.0499**

**Vector OB = (2; 8) ; |OB| = 8.2462**

**Scalar product OA .OB = 82**

**Angle ∠ AOB = 8°19'32″ = 0.1453 rad**