Calculating a soil area as a polygon I am using MathCAD Prime 10I’m working with a system of four vertically stacked blocks, each 4 feet high. The widths of the blocks are labeled B1, B2, and B3, and the bottom elevation of the lowest block is defined by BotEL.The ground surface is sloped and described by a series of known (X, Y) coordinates.For each block, I need to:Determine the coordinates of two intersection points with the ground surface.These are labeled a1 and b1 for the first block, a2 and b2 for the second, and so on.The "a" points represent vertical lines extending down from the right edge of each block. Their X-coordinates are defined by the block geometry, while the Y-coordinates should be interpolated from the ground surface at those X-positions.The "b" points correspond to lines inclined at an angle ψ relative to the ground surface, as illustrated in the attached image.I've also attached a Mathcad file and a diagram to help illustrate the problem setup.Note: This is a more detailed version of a previous ques