Effacer les filtres
Effacer les filtres

complex closed contour integral

20 vues (au cours des 30 derniers jours)
salah zetreni
salah zetreni le 12 Mar 2015
Commenté : Torsten le 10 Avr 2022
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 commentaire
Shariefa Shaik
Shariefa Shaik le 1 Nov 2017
explain the code sir

Connectez-vous pour commenter.

Réponse acceptée

Torsten
Torsten le 12 Mar 2015
fun=@(z)(z+1)/(z^3-2*z^2);
g=@(theta)2+cos(theta)+1i*sin(theta);
gprime=@(theta)-sin(theta)+1i*cos(theta);
q1 = integral(@(t) fun(g(t)).*gprime(t),0,2*pi)
Best wishes
Torsten.
  10 commentaires
salah zetreni
salah zetreni le 13 Mar 2015
for the same problem he asked me to find a value of integration around z-1-2J=2 by using matlab ... plz see my answer and help me on detect the error :
fun=@(z)(z+1)/(z.^3-2*z.^2);
g=@(theta)1+2*i+2*cos(theta)+1i*2*sin(theta);
gprime=@(theta)-2*sin(theta)+1i*2*cos(theta);
q1=quad(@(t) fun(g(t)).*gprime(t),0,2*pi)
when I do run ,the matlab show me :
Warning: Maximum function count exceeded; singularity likely.
In quad at 106
q1 =
-0.0256 + 0.0013i
Shariefa Shaik
Shariefa Shaik le 1 Nov 2017
explain the procedure sir

Connectez-vous pour commenter.

Plus de réponses (1)

Torsten
Torsten le 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 commentaires
Shriya Varanasi
Shriya Varanasi le 10 Avr 2022
How do you get the graph?
Torsten
Torsten le 10 Avr 2022
What graph ? The result is the value of the contour integral - thus a single number.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by