Write a cosine function with given characteristics:

Amplitude = 5

Period = 2π3\displaystyle \frac{{{2}\pi}}{{3}} 

Phase Shift = 1π2\displaystyle -\frac{{-{1}\cdot\pi}}{{2}} 

Format your answer to look like this: Acos(ω(xϕω))\displaystyle {A}{\cos{{\left(\omega{\left({x}-\frac{\phi}{\omega}\right)}\right)}}}