Calculus with complex numbers