Calculating a soil area as a polygon
- June 17, 2025
- 3 replies
- 2305 views
I am using MathCAD Prime 10
I’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 question I posted before. While I received an excellent response to the question as I posted it from @Werner_E, I wasn’t able to build on the response to get to my final goal.
For reference:
https://community.ptc.com/t5/Mathcad/Interpolated-Points-with-Sloped-Ground/td-p/1019396
Any guidance would be greatly appreciated!

