In order to write the equation for a piecewise linear function shown on a graph, what do you need to determine?

To write the equation for a piecewise linear function shown on a graph, you need to determine the slopes and y-intercepts for each segment or interval of the function. Additionally, you need to identify the specific x-values or intervals at which the function changes its behavior (i.e., changes to a different slope or y-intercept).