Calculate the Integral: avg_y=y(1:length(x)-1)+diff(y)/2;. A=sum(diff(x).*avg_y). We use MATLAB (trapezoid rule):. A = 0.3350. Students: Try this example ...
確定! 回上一頁