Respuesta :

The equation of piecewise function is [tex]y=-\frac{1}{2} x+2[/tex]

Equation of piecewise function:

From given graph of function, we have to write function for the domain of [tex]-2\leq x\leq 2[/tex].

It is observed that, in the particular domain graph of function is a straight line, which passes through the points [tex](-2,3)[/tex] and [tex](2,1)[/tex].

Equation of line is,

               [tex]y-3=\frac{1-3}{2+2}(x+2) \\\\y-3=-\frac{1}{2} (x+2)\\\\y=-\frac{1}{2} x-1+3\\\\y=-\frac{1}{2} x+2[/tex]

The equation of piecewise function is [tex]y=-\frac{1}{2} x+2[/tex]

Learn more about the equation of function here:

https://brainly.com/question/25841119