Explanation:
The y intercept of a function is when the graph crosses the y axis(vertical line ).
The y intercepts occurs when x=0,
Basically to find the y intercept of a function find
f(0), where f is the given function.
Here the graph crosses the y axis at (0,2)
So the y intercept is 2.