complex closed contour integral

15 ビュー (過去 30 日間)
salah zetreni
salah zetreni 2015 年 3 月 12 日
コメント済み: Torsten 2022 年 4 月 10 日
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 件のコメント
Shariefa Shaik
Shariefa Shaik 2017 年 11 月 1 日
explain the code sir

サインインしてコメントする。

採用された回答

Torsten
Torsten 2015 年 3 月 12 日
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 件のコメント
salah zetreni
salah zetreni 2015 年 3 月 13 日
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 2017 年 11 月 1 日
explain the procedure sir

サインインしてコメントする。

その他の回答 (1 件)

Torsten
Torsten 2015 年 3 月 13 日
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 件のコメント
Shriya Varanasi
Shriya Varanasi 2022 年 4 月 10 日
How do you get the graph?
Torsten
Torsten 2022 年 4 月 10 日
What graph ? The result is the value of the contour integral - thus a single number.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNumerical Integration and Differentiation についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by