So it gives me pow no overloaded? Does that even make sense? It's also giving me a few syntax errors but i can't see why double on the first line of defining the function would be considered one... The purpose is to make a function that replicates the function of cosx.