complex closed contour integral
Show older comments
plz explain to me how can I use matlab programe for solution of complex contour integral :
example : find ∮((z+1)dz)/(z^3-2z^2 ) around z-2=1 where 1 is Radius of the circle ?
when I solution it Manually the result was equal:-π*i
1 Comment
Shariefa Shaik
on 1 Nov 2017
explain the code sir
Accepted Answer
More Answers (1)
Torsten
on 13 Mar 2015
What about
fun=@(z)(z+1)./(z.^3-2*z.^2);
g=@(theta)(1+2*cos(theta))+1i*(2+2*sin(theta));
gprime=@(theta)-2*sin(theta)+1i*2*cos(theta);
q1=quad(@(t) fun(g(t)).*gprime(t),0,2*pi)
Best wishes
Torsten.
3 Comments
salah zetreni
on 13 Mar 2015
Shriya Varanasi
on 10 Apr 2022
How do you get the graph?
Torsten
on 10 Apr 2022
What graph ? The result is the value of the contour integral - thus a single number.
Categories
Find more on Numerical Integration and Differentiation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!