Computing Double integrals with ymax

1 回表示 (過去 30 日間)
Ikenna Iwudike
Ikenna Iwudike 2022 年 4 月 22 日
回答済み: Torsten 2022 年 4 月 22 日
F = @(x,y) y*sqrt(x.^2 - y.^2);
ymax = @(x)x;
q = integral2(F,1,2,0,ymax)
I need help with computing this double integral. my bounds for y are 0 and x, but it won't work even when I make ymax a function handle.

採用された回答

Torsten
Torsten 2022 年 4 月 22 日
F = @(x,y) y.*sqrt(x.^2 - y.^2);
instead of
F = @(x,y) y*sqrt(x.^2 - y.^2);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by