Prize37 Chapter 7, Exercise 2 Cut and fill for a cutting and an embankment Task A cutting 250 metres long and 2.5 metres deep has a flat bottom 6 metres wide and sides sloping 1.5 metres across for every metre of depth. The nearby embankment is 150 metres long, 1.5 metres high, with a 6 metre top and sides sloping 2 metres across for every metre of height. With a swell factor of 1.2, find the surplus or shortfall of soil. (assumed figures throughout) Code (run with Python) def section(bottom, depth, slope): return depth * (bottom + slope * depth) swell = 1.2 cut = section(6, 2.5, 1.5) * 250 fill = section(6, 1.5, 2.0) * 150 print("cutting, in place (m3):", cut) print("cutting, loose (m3):", round(cut * swell)) print("embankment, loose (m3):", round(fill * swell)) print("surplus (m3):", round(cut * swell - fill * swell)) Output (exactly as printed) cutting, in place (m3): 6093.75 cutting, loose (m3): 7312 embankment, loose (m3): 2430 surplus (m3): 4882 Answer The cutting cross-section is 2.5 x (6 + 1.5 x 2.5) = 24.4 square metres, so 250 metres gives 6,093.75 cubic metres in place, or 7,312 once loosened (swell 1.2). The embankment section is 1.5 x (6 + 2.0 x 1.5) = 13.5 square metres, so 150 metres needs 2,025 cubic metres, or 2,430 loose. The surplus is about 4,882 cubic metres (7,312.5 - 2,430, rounded as the program prints it), which can be spread nearby, so there is no need to bring soil in.