Cosine series and sine series/R/Definition