This is neither a description of the graph of cosine nor sine on this interval. Perhaps you were looking at the part of the graph from to .