Variation of parameters formula for the equation of Cooke and Wiener