I'm having a hard time trying to plot in Mathematica. The output appears to be empty.
Plot[(-1)^x, {x, -10, 10}, PlotRange -> 2]
Shouldn't this graph be continuous on intervals of the form [n, n+1) where n is an integer?
I'm having a hard time trying to plot in Mathematica. The output appears to be empty.
Plot[(-1)^x, {x, -10, 10}, PlotRange -> 2]
Shouldn't this graph be continuous on intervals of the form [n, n+1) where n is an integer?
Is there any way to graph (-1)^x in a meaningful way? I originally came across it because of its usefulness when applied over the natural numbers since it alternates between 1 and -1. However I'm curious how to visualize the general graph of this function, so I suppose it would require a graph on the complex plane which I have no idea how to do.
Here is Wolfram Alpha's plot
plot (-1)^x - Wolfram|Alpha