“…The possibility of calculating the slope and elevation using level curves has practical applicability in several fields of activity, such as civil engineering [1], architecture [2,3], railway [4], road and bridge engineering [5][6][7][8], topography [9], etc. Although the results found can be used in various areas, this article is limited to solving two problems related to civil engineering and to railways, roads, and bridges, both ultimately related to the embankments optimization.…”