Integrate z where z=xy

조회 수: 2 (최근 30일)
Joel John
Joel John 2021년 3월 16일
댓글: Rena Berman 2021년 5월 6일
How to integerate z where z=xy which i will be substituting separately
after integrating i need the answer back to xy not z
eg: integral(-2/z) should be 1/x^2*y^2 where z=x*y
  댓글 수: 1
Rena Berman
Rena Berman 2021년 5월 6일
(Answers Dev) Restored edit

댓글을 달려면 로그인하십시오.

채택된 답변

John D'Errico
John D'Errico 2021년 3월 16일
Why does this seem obvious? Yet, the result that you seem to want is incorrect.
syms z x y
zint = int(-2/z,z)
zint = 
subs(zint,z,x*y)
ans = 
And that is because the integral of -2/z is NOT 1/z^2. I think you may be confusing integration and differentiation.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by