Struggling with integration.
Mostra commenti meno recenti
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 Commenti
John D'Errico
il 27 Ott 2020
Why have you written a DOUBLE integration, when your question shows a single integral?
Przemyslaw Trzybinski
il 27 Ott 2020
Modificato: Przemyslaw Trzybinski
il 27 Ott 2020
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!