Step 1: Problem
write the equation if the following graph (0,2) (4,1)
Step 2: Concept
Firstly, find the slope m
Secondly, the intercept c at the vertical axis.
The equation of a line is
y = mx + c
Step 3: Method
[tex]\begin{gathered} \text{Slope m = }\frac{y_2-y_1}{x_2-x_1} \\ (\text{ 0, 2 ) and ( 4, 1 )} \\ x_1=0 \\ y_1\text{ = 2} \\ x_2\text{ = 4} \\ y_2\text{ = 1} \\ m\text{ = }\frac{1\text{ - 2}}{4\text{ - 0}} \\ m\text{ = }\frac{-1}{4} \\ \\ \text{Intercept c = 2} \end{gathered}[/tex]Step 4: Final answer
Substitute m and c in the equation below to find the equation of the line.
y = mx + c
[tex]y\text{ = }\frac{-1}{4}x\text{ + 2}[/tex]