Ask your compiler! And try these steps:

Write down the function prototype that matches the pointer type you want. Since you are using math functions, that is
double cos(double);

Now add parens...