I tried to graph $(-1)^x$ but got nothing. Then I went on and tried $(-1)^{3.2}$ and got -1 as the answer, but when I tried $x=3.3$ instead I got an error.
I know that when x is a natural number that is even we should get $(-1)^x=1$ and that we should get $(-1)^x=-1$ if $x$ is odd, but how do the decimals affect the answer?
