Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Contour Integral - Mathmetica

  1. Feb 8, 2019 #1
    1. The problem statement, all variables and given/known data
    upload_2019-2-8_15-53-7.png

    2. Relevant equations

    dd9c1e28f7505efc2e8176323bfc27901c5dfb95.png
    3. The attempt at a solution
    Image-10.jpg
     
  2. jcsd
  3. Feb 8, 2019 #2
    This is my first time here. Please don't delete my thread.
     
  4. Feb 13, 2019 at 7:08 PM #3
    The code I tried to input:

    In[64]:= r = 2;
    i = Sqrt[-1];
    x[t_] := r*Cos[t] - 1;
    y[t_] := r * Sin[t] - i;
    K[x_, y_] := {x + i y}

    In[70]:= f[K_] := 1/(K - (1 + i))

    In[71]:= Integrate[f[K], {t, 0, 2 \[Pi]}]

    Out[71]= (2 \[Pi])/((-1 - I) + K)

    the output should be 2πi. Right?
     
  5. Feb 13, 2019 at 8:43 PM #4

    anorlunda

    Staff: Mentor

    Your handwritten picture is not readable. You are violating our guidelines.

     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook