Integrate z where z=xy
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Joel John
am 16 Mär. 2021
Kommentiert: Rena Berman
am 6 Mai 2021
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 Kommentar
Akzeptierte Antwort
John D'Errico
am 16 Mär. 2021
Why does this seem obvious? Yet, the result that you seem to want is incorrect.
syms z x y
zint = int(-2/z,z)
subs(zint,z,x*y)
And that is because the integral of -2/z is NOT 1/z^2. I think you may be confusing integration and differentiation.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!