0

I am beginning Mathematica user. Please show me the syntax on how to compute the following complex integral in Mathematica:

$\int_{|z-2i|=10} \frac{dz}{z(1-e^{-5z})}$

What I really want is a subroutine that takes $f$ - my function and $c$ - my circle and compute the following complex integral. Samples in documentation force me to alter $f$ every time. But calculation insets relies on residues, so I want to have clean syntax.

Thanks a lot for your help!

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
Hedgehog
  • 293
  • 3
  • 8

1 Answers1

1

Try this:

    z = 2*I + 10*E^(I*t);
    NIntegrate[10/(z + (1 - E^(-5*z))), {t, 0, 2 \[Pi]}]

(* 2.07045 - 0.0177716 I *)

Have fun!

Alexei Boulbitch
  • 39,397
  • 2
  • 47
  • 96