plot of y=(-1)^x and y=cos((9.86955*x)/pi) for x=10000 to 10010