تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح Introduction to Matlab in Arabic 37 Numerical integration - Trapezoidal rule ضمن كورس Matlab شرح قناة Mohammed Mohammed، الفديو رقم 41 مجانى معتمد اونلاين
This video shows the use of trapezoidal rule to numerical integrate tabulated data
The code below manually calculates the flow rate of the example solved in the video:
r0.01[0 1 2 3 4 5]; %radius in m
v[6.4 6.1 5.2 4.4 2.0 0.0]; %velocity in m/sec
rvv.r; % radiusvelocity in m2/sec
% calculate the area of each trapezium
for i1:length(r)-1
y(i)mean([rv(i+1),rv(i)]);
x(i)r(i+1)-r(i);
xy(i)x(i)y(i);
end
%Calculate the total flow rate in m3/sec
Qsum(xy)2pi