You may for example add a second term $\,\cos(\pi x)$ with an arbitrary coefficient $k$ : $$f_k(x):=\cos(2\pi\,(1-x))+k\cdot \cos(\pi\,(1-x))$$
For $k=2$ and $k=4$ we get :
!k=2
!k=4
(vertical shifting and scaling should be easy)
A more exotic (but with less 'liberties') solution is to use $\;\dfrac{\sin(5\pi\,(x-1)/2)}{5\pi\,(x-1)/2)}$ as illustrated :
!sin\(x\)/x
Hoping this helped,