Write a rule for a nonlinear function such that y is negative when x = 1, positive when x = 2, negative when x = 3, positive when x = 4, and so on.

The entire problem confuses me. I have no idea what its even asking besides it wants an equation.

3 answers

Would it be y=(-1)^x?
You got it!
its 2022