find integral of complex function using residues

3 ビュー (過去 30 日間)
Mantas Jasiulis
Mantas Jasiulis 2018 年 12 月 7 日
コメント済み: David Goodmanson 2019 年 6 月 28 日
Hello,
How can I find integral of a function like this: where I have to integrate with circle: . I MUST use residues to find the integral of this function. Maybe there is a simple, efficient way to do this?
Thank You in advance.
  1 件のコメント
David Goodmanson
David Goodmanson 2019 年 6 月 28 日
for the record,
integrand f(z) = (1/2) / (z^2+z/2-1)
= (1/2) / ((z-r1)(z-r2))
r = roots([1 1/2 -1])
r = -1.2808
0.7808
contour encloses positive root r(2)
residue = (1/2)*(r(2)-r(1))
Integral = (2*pi*i) * (1/2)*(r(2)-r(1)) = 0.0000 + 1.5239i

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

回答 (0 件)

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by