MATLAB Answers

Integrate z where z=xy

6 ビュー (過去 30 日間)
Joel John
Joel John 2021 年 3 月 16 日
コメント済み: Rena Berman 2021 年 5 月 6 日 20:06
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 日 20:06
(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 = 
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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by