approximation of complex variable function