Cauchy's integral theorem in complex analysis
Afficher commentaires plus anciens
The Cauchy's integral theorem states: Let U be an open subset of C which is simply connected, let f : U → C be a holomorphic function, and let γ be a rectifiable path in U whose start point is equal to its end point, then
∮γ [f(z)dz]=0.
Now I have a problem with this function e^z which is holomorphic in whole C. Taking γ as a circumference of unitary radius(γ=e^(jϑ)) by the theorem the integral should be null. On the other side
ro=1
g = @(theta) cos(theta) + 1i*sin(theta);
gprime = @(theta) -sin(theta) + 1i*cos(theta);
fun= @(z) exp(z);
q1 = integral(@(t) fun(g(t)).*gprime(t),0,2*pi)
resulting q1 = -1.2490e-16 - 9.9920e-16i Is it a calculus approximation or an error in the code?
P.s. Sorry for bad English it isn't my native language.
1 commentaire
Torsten
le 25 Jan 2016
Don't you think the result is close enough to 0 :-) ?
Best wishes
Torsten.
Réponses (1)
Diego Taglialatela
le 25 Jan 2016
0 votes
Catégories
En savoir plus sur Common Operations dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!