# How do you write an equation of a line given m=0 and b=2?

Apr 20, 2017

$y = 2$

#### Explanation:

The slope-intercept equation is given by $y = m x + b$

Knowing that $m = 0$ and $b = 2$ the equation now looks like $y = 0 x + 2$ or $y = 2$

$y = 2$ is a horizontal line that crosses the y-axis at $\left(0 , 2\right)$

Here's a graphical look,

graph{0x+2 [-10, 10, -5, 5]}