find integral of complex function using residues

조회 수: 8 (최근 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 CenterFile Exchange에서 Numerical 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