Struggling with integration.
古いコメントを表示
How would I integrate this equation in matlab? V=∫pi*(R1+R2-sqrt(R2^2-x^2))^2 dx with limits -0.5D and 0.5D.
I have V, R2, and a height, D.
R1 is an unknown which I have to solve for.
What I've tried so far.
syms r1 r2 d x;
f= (pi()*(r1+r2-sqrt(r2^2-x^2))^2)
F = int(f, x)
G= int(F,r2)
a=int(F, x,0.5,-0.5)
2 件のコメント
John D'Errico
2020 年 10 月 27 日
Why have you written a DOUBLE integration, when your question shows a single integral?
Przemyslaw Trzybinski
2020 年 10 月 27 日
編集済み: Przemyslaw Trzybinski
2020 年 10 月 27 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Mathematics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!