The graph of a function y = g(x)
on the domain −4 ≤ x ≤ 4
consists of line segments and semicircles of radius 1 connecting the points (−4, 0), (−2, 2), (0, 2), (2, 2), (4, 0).
(c) Find the multipart formula for y=g(x)
to solve this, I used the formula of the line for
(-4≤x≤-2) = y= -x-4
(2≤x≤-2) = y=
and the pos/neg semi-circle equations for
(-2≤x≤0) =y =2+sqrt(x2-2x)
(0≤x≤2) = y = 2-sqrt(x2-2x)
But none of my answers were correct. what should I try now?