On Functional Equations for One or Two Complex Variables Arising in the Analysis of Stochastic Models