Built-in Mathematica functions are Capitalized. So, you need to change cos to Cos, and so forth.
cos
Cos
Thanks for the quick replay. I am still a beginner in mathematica and have still some problems with the correct syntax.