Cubature rules and expected value of some complex functions