Equations of the form acos