A simple variation on the previous post. and cosine is decreasing so one part of the set is . But cosine is an even function: cos(-x)= cos(x) so will also work- together, . But, finally, cosine has period : for all x in for k any integer, exactly what you have!