Actually since the x-axis (the domain of the function) is also subject to evolution, the result may come in different shapes. But you can take only one of them as reference. However, as @vela stated, xcos(x) works quite well, I guess this is the function that I was looking for.