Info
此问题已关闭。 请重新打开它进行编辑或回答。
simpsons rule and integral function
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!