Info

此问题已关闭。 请重新打开它进行编辑或回答。

simpsons rule and integral function

2 次查看(过去 30 天)
Mike Garret
Mike Garret 2015-4-28
关闭: MATLAB Answer Bot 2021-8-20
please i have this question i can do the integral function part but have problem doing simpsons rule please i need help
Question; A cone shaped cup has brim r=1.5 height L=4. water cup level is l and volume is given by; V= pi/3 (R/L)^2 * l^3 if the volumetric rate q(dV/dt) from fountain to cup is 2, how long will it take to fill cup to brim. matlab code using simpsons method with h= 0.1 and compare it using integral function. output both estimates.
here is my code for integral function;
V=(pi/3)*(R/L)^2 * l^3;
I= integral(V,R,L)
i doubt its right but please some help would be great.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by