Compute volume by the prismoidal formula from two end areas and the mid-area.
輸入兩端面積 A₁、A₂、中截面 A_m 與間距 L,求體積。
工作與生活中的相關計算與查詢。