Recall from algebra

The equation of a straight line is given by the following formula:


\( y=mx+b \) (11.1)


where

\( m \) - slope (gradient) of the line, \( m=\frac{rise}{run} \)

\( b \) - value of \( y \) when \( x=0 \)


Example

A line with equation \( y=2x+1 \) is shown of Fig. 11.2:


line
Fig. 11.2 A line with equation