Compute volume by the prismoidal formula from two end areas and the mid-area.
输入两端面积 A₁、A₂、中截面 A_m 与间距 L,求体积。
工作与生活中的相关计算与查询。