How to use cosine functions in cvx

Not using CVX.